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
/
\b([0-9]{6})\b
/
gm
Input 1
<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><u></u> <div> <center id="m_-2051398760120817894wrapper"> <table id="m_-2051398760120817894main" width="100%"> <tbody><tr id="m_-2051398760120817894logo"> <td> <table width="100%"> <tbody><tr> <td> <img src="test.com/logo.png" width="140px" alt="xxxxx Logo" style="padding:0 10px"> </td> </tr> </tbody></table> </td> </tr> <tr> <td height="18px"></td> </tr> <tr id="m_-2051398760120817894header"> <td> <table width="100%"> <tbody><tr> <
Extraction
<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><u></u> <div> <center id="m_-2051398760120817894wrapper"> <table id="m_-2051398760120817894main" width="100%"> <tbody><tr id="m_-2051398760120817894logo"> <td> <table width="100%"> <tbody><tr> <td> <img src="test.com/logo.png" width="140px" alt="xxxxx Logo" style="padding:0 10px"> </td> </tr> </tbody></table> </td> </tr> <tr> <td height="18px"></td> </tr> <tr id="m_-2051398760120817894header"> <td> <table width="100%"> <tbody><tr> <