Regex: Match everything until first occurrence of two alternatives
2360
My regex is matching too much. How do I make it stop?
151207
How do I substitute only first occurence with sed?
80516
Return previous line of all matches
94738
Non-greedy match with SED regex (emulate perl's .*?)
8026
Regex Pattern to Match, Excluding when... / Except between
86463
A Regex that will never be matched by anything
116912
Regex only match if character is not included directly before desired string
136870
Pattern matching with List and Optional
759
How do I match any character across multiple lines in a regular expression?
64574
Match at every second occurrence
122732
Equivalent of "former" and "latter" for more than 2 items
108858
match until a certain pattern using regex
35989
Match a pattern only when NOT preceded or followed by another pattern
100649
REGEXP performance (compare with "LIKE" and "=")
60000
Regex to match string containing two names in any order
101140
How can I find all matches to a regular expression in Python?
23199
How to match the first word after an expression with regex?