How to return the smaller of an OR operator regex when both are present?
2360
My regex is matching too much. How do I make it stop?
125038
What is a "Nested Quantifier" and why is it causing my regex to fail?
427
Why does a RegExp with global flag give wrong results?
113604
Why does this regex with no special character match a longer string?
123652
Returning only part of match from Regular Expression
35549
What is the difference between the | and || or operators?
104414
JavaScript regular expressions and sub-matches
51287
Conditionally replace regex matches in string
116912
Regex only match if character is not included directly before desired string
78395
Checking whole string with a regex
124492
Is there a regex quantifier that says "either x or y repeats"?
119251
Lookup and return value based on sub-string match
38898
How to compare the strings using < (Greater than symbol)
133672
Regex that matches numeric with up to 2 decimal places
113666
OR Operator Short-circuit in SQL Server
29090
Return only the portion of a line after a matching pattern
145107
Complexity of Regex substitution