Answers for "check string equal with regular expression 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 "check string equal with regular expression python"

Python Answers by Framework

Browse Popular Code Answers by Language