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?://(?:www\.|)mysite\.com[^>]*>(.*?)</a>
~
gsi
Input 1
1
New
Текст бла бла <a href="http://mysite.com/">Ankor</a> text text text <a href="http://outsite.com/">Ankor</a> text text Текст бла бла <a href="http://mysite.com/page">Ankor</a> text
Extraction