Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check string equal with regular expression python

import re
pattern = re.compile("^([A-Z][0-9]+)+$")
pattern.match(string)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #string #equal #regular #expression #python
ADD COMMENT
Topic
Name
7+3 =