I have this code that selects all <img> tags:
$pattern = "@<img[^>]*src=[\"\']([^\"\']*)[\"\'][^>]*>@";
I want to change it that only selects images that do not have "noajax" in its class. for example:
<img src="../" /> -> should be selected
<img src="../" class="noresize noajax" /> -> should NOT be selected