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.
Anchors are not needed to solve this problem. But there's a good point in that some extra knowledge is needed, i solved it once using curly braces and another time using character sets, neither of which has been covered at this point.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Anything But a Newline
You are viewing a single comment's thread. Return to all comments →
Anchors are not needed to solve this problem. But there's a good point in that some extra knowledge is needed, i solved it once using curly braces and another time using character sets, neither of which has been covered at this point.