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"
(?<=@)([^\s]+)(?=\s|$)
"
g
Input 1
1
New
nicky@nike.com nicky@nike-affiliates.com nicky@somesite.co.uk and some words for whatever reason
Substitution
nicky@nike.com nicky@nike-affiliates.com nicky@somesite.co.uk and some words for whatever reason