Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^([A-Za-z]+)(\s*)([0,1]*[0-9])(,*\s*)([0-9]{2,4})$
/
gm
Input 1
1
New
January 15, 2018 January 15,2018 January15, 2018 January15,2018 January 15 2018 Feb 15, 2018 Feb15, 18
Substitution