Answers for "how to check if something is according to regular expressions python"

1

check string equal with regular expression python

import re
pattern = re.compile("^([A-Z][0-9]+)+$")
pattern.match(string)
Posted by: Guest on May-10-2020

Code answers related to "how to check if something is according to regular expressions python"

Python Answers by Framework

Browse Popular Code Answers by Language