Answers for "python check string matches a name"

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 "python check string matches a name"

Python Answers by Framework

Browse Popular Code Answers by Language