Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Regular Expression to Stop at First Match

pattern = "[0-9]{6}"
regex = f'/{pattern}"(.*?)"/'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Regular #Expression #Stop #First #Match
ADD COMMENT
Topic
Name
5+7 =