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
/
(?:[NV]|GH)?([0-9-]+(?:[SF]|[A-Z])?)+(?:[A-Za-z]{1,3}[0-9]+|DV|D)?
/
g
Input 1
10y4 4035sf v10 v10y4 gh303 1526yuj23 10dv
Extraction
10y4 4035sf v10 v10y4 gh303 1526yuj23 10dv