Answers for "fastest way to check if string matches format 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 "fastest way to check if string matches format python"

Python Answers by Framework

Browse Popular Code Answers by Language