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
r"
(?P<x>\w*?)(?P<y>\d*)$
"
gm
Input 1
1
New
df Ref 0 CU12 1 SE00 2 RLA1234 3 12345 3 RLA456 4 LU00 5 RLA1234MA12 6 RLA1234MA13 7 CU00 8 LU00
Substitution
df Ref 0 CU12 1 SE00 2 RLA1234 3 12345 3 RLA456 4 LU00 5 RLA1234MA12 6 RLA1234MA13 7 CU00 8 LU00