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
/
^(?:[A-Za-z\d].*\R)+?(?:[A-Za-z].*\R){2}(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\d{4}$
/
gm
Test String
New
ABC 44234234 GHG FGyhyh Nov2016 ///////////////////////// ABCtt 44234234 GHG 00 FGyhyh Nov2015 ///////////////////////// ABC 44234234 GHG hyh Jan2022 /////////////////////////