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
~
<a [^>]*href="(https://google\.com/[^"]*).+?</a>
~
gis
Input 1
1
New
<a href="https://yandex.ru/link1">Яндекс Link1</a> <a href="https://yandex.ru/link2">Link2 Яндекс</a> <a href="https://google.com/link1">Google Link1</a> <a href="https://google.com/link2">Link2 Google</a>