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.
Probably this answer it too late but here it is:
[] define a custom character class. It matches anything that you want!
So in this case [a-z0-9A-Z] matches any lowercase and uppercase letter and also any number.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Group(), Groups() & Groupdict()
You are viewing a single comment's thread. Return to all comments →
Probably this answer it too late but here it is: [] define a custom character class. It matches anything that you want! So in this case [a-z0-9A-Z] matches any lowercase and uppercase letter and also any number.