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
/
^[^@\n]*(\B@[^@\s][^@\n]*){5,}$
/
gm
Input 1
1
New
@Boddy is doing great with @shirly @rebecca @jimmy and @mom @Boddy is doing great with test@shirly @rebecca @jimmy and @mom @Boddy is doing great with @ @rebecca @jimmy and @mom
Extraction
@Boddy is doing great with @shirly @rebecca @jimmy and @mom @Boddy is doing great with test@shirly @rebecca @jimmy and @mom @Boddy is doing great with @ @rebecca @jimmy and @mom