Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
-*?([\w\.]{1,100}@\w[\w\-]+\.+com|biz|us|bd)-*?
"
gm
Input 1
1
New
<html> <body> <p>aaa@example.jpg</p> <p>--bbb@example.com--</p> <p>ccc@example.com--</p> <p>--ddd@example.com</p> 222@example.jpg.com </body> </html>
Extraction