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"
\b[A-Z](?=([&.]?))(?:\1[A-Z])+\b
"
gm
Input 1
1
New
My name is STEVE. My friend works at (I.A.). Indian Army(IA). B&W also B&&W Also I...A
Extraction
My name is STEVE. My friend works at (I.A.). Indian Army(IA). B&W also B&&W Also I...A