I have the following regex:
$regex = '<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>';
how can I improve this to NOT match the word "files" or "resize" in the href tag:
<a href="./files/test.jpg">link</a> or
<a href="script.php?resize=xxxx"></a>