I have made this regex:
(?<=span class="ope">)?[a-z0-9]+?\.(pl|com|net\.pl|tk|org|org\.pl|eu)|$(?=<\/span>)$
It does match the strings like: example.pl
, example12.com
, something.eu
but it will also match the dontwantthis.com
.
My question is how to don't match a string in case if it contains the dontwantthis
string?