We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Yeah, I used the ^, but could not use the $ as it would fail. If it said that it could be an arbitrary number of digits, instead of xxXxxXxxxx, then it would have made more sense.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Digits & Non-Digit Characters
You are viewing a single comment's thread. Return to all comments →
Yeah, I used the ^, but could not use the $ as it would fail. If it said that it could be an arbitrary number of digits, instead of xxXxxXxxxx, then it would have made more sense.