DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+7 =
Submit