regular expression to stop at first match

Solutions on MaxInterview for regular expression to stop at first match by the best coders in the world

showing results for - "regular expression to stop at first match"
Emma
17 Apr 2018
1pattern = "[0-9]{6}"
2regex = f'/{pattern}"(.*?)"/'
3
similar questions
python regex find first