Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
Hometown: ([^<]+)(?=\s*<)
/
g
Input 1
1
New
<strong><a href="/search/company/company/94613582">Anchor sample Ltd</a></strong><br> BIS: 94613582 <br> Hometown: MONTREAL <br> <div class="hori"></div> <strong><a href="/search/company/company/046251945">Anchor sample Ltd</a></strong><br> BIS: 046251945 <br> Hometown: ALABAMA <br> <div class="hori"></div> <strong><a href="/search/company/company/041634545">Anchor sample Ltd</a></strong><br> BIS: 041634545 <br> Hometown: GEORGIA <br> <div class="hori"></div> <strong><a href="/search/company/company/487915646">Anchor sample Ltd</a></strong><br> BIS: 487915646 <br> Hometown: FLORIDA <br> <div class="hori"></div> <strong><a href="/search/company/company/165875487">Anchor sample Ltd</a></strong><br> BIS: 165875487 <br> Hometown: KANSAS <br>