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.
Matching Specific Characters
Matching Specific Characters
Sort by
recency
|
81 Discussions
|
Please Login in order to post a comment
Java 15
Regex pattern = "^[123][120][xs0][30Aa][xsu][.,]$"
java solution
Regex_Pattern = r'^[123][012][xS0][30Aa][xsu][.,]$' # Do not delete 'r'.
import re
print(str(bool(re.search(Regex_Pattern, raw_input()))).lower()) its not passing this test case 21sAu,