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{3,5}$)|(^E\d{3,4}$)|(^V\d{2,4}$)
/
gm
Input 1
1
New
11111 2222 999 E123 E1234 V12 V123 V1234 11 111111 11a11 1a1 E12 E12345 V1 V123
Substitution
11111 2222 999 E123 E1234 V12 V123 V1234 11 111111 11a11 1a1 E12 E12345 V1 V123