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
/
\by\K\d(?=[\h\p{L}.]|$)
/
gm
Input 1
1
New
y0 y1$ y2H y3. y9 y10 test y1% test y1 y3
Extraction
y0 y1$ y2H y3. y9 y10 test y1% test y1 y3