12-02-2013, 11:43 AM
That fails if you have multiple per line though, because * is greedy. In that cause you could use instead:
<p class=(.*?)><img alt=(.*?) class=(.*?) src=(.*?) />
<p class=(.*?)><img alt=(.*?) class=(.*?) src=(.*?) />