Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?:\d+)(?:[\/.-](?:\d+)){1,2}
/
gm
Input 1
WC 12/10 change FC from 24 to 32 W/C 12/10 change fc from 401 to 340 W/C12/10 18 - 26 W?C 12/20/22 abc
Substitution
WC 12/10 change FC from 24 to 32 W/C 12/10 change fc from 401 to 340 W/C12/10 18 - 26 W?C 12/20/22 abc