Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
# The pattern should match twice or more. (?: # Begin of line. ^ # But not one of these lines: (?!(?:4-Diepi|5-Mts|.*\b(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\d{4}\b.*)$) # Digits and then any chars not beeing line ending, followed by a new line or end of line. \d+[^\r\n]*(\R|$) ){2,}
/
gmx
Test String
New
Peie 71,176,953 T-re 71,173,557 5-Mts 41,653,495 45678 Sia 36,136,829 36,100,829 78,684,45 4-Diepi 120,829 uteCra 36,100 Oct2018 71,45,78 22 Apr2024 It should not match above. 66456,56,6 9-inches 789,879,89 2-Mts
Extraction
Processing...