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
/
;\s([a-zA-Z0-9]{3}-[a-zA-Z0-9]{3})\b
/
gm
Input 1
New
Bakery: Desdemona (Desserts; A9B-APO) 7th Avenue" the ingredient is A9B-APO
Substitution
Bakery: Desdemona (Desserts; A9B-APO) 7th Avenue" the ingredient is A9B-APO