I am trying to parse a normal link, but sometimes along with that link there’s a similar one that instead of text contains an image.
I have been using this pattern: "#_blank\">(.*?)</a>#is, but this also matches the links that contains images in the anchor.
How could I parse only the ones that doesn’t contain image?
<a href=".*?">(?!<img.*?>).*?</a>http://regexr.com?30n1q
How about this?