Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if string match regex python

# Example from https://docs.python.org/3/howto/regex.html
import re
p = re.compile('ab*')
p.match(input1)
 
PREVIOUS NEXT
Tagged: #check #string #match #regex #python
ADD COMMENT
Topic
Name
2+2 =