I'd like to ignore what's inside a href element and make the function search with the rest of the pattern, I'd like it to be something like this:
preg_match('|<tr><td class="even"><a href="#">(.*?)</a></td>|', $content, $value)
Originally the href has /?tab=episode&seriesid=121361&seasonid=364731&id=3436411&lid=16
but it's something I'd like the function to ignore.
EDITED:
I'd like to match the 2
from <td class="even"><a href="/?tab=episode&seriesid=121361&seasonid=364731&id=3436411&lid=16">2</a></td>
but not just 1, i'll match more later and they have differents href values so i want a regex that means this href maybe variable. I don't know if i explained well, my english is not very good.