Hello all,
I am trying to match a html element but I don't think its matching since $titles is empty - can anyone correct me?
My preg_match:
preg_match_all("~<td align=\"left\" width=\"50%\">[^<]*. <b><a href=\"(.*?)\">[^<]*</a>~i", $main, $titles);
Example HTML to match:
//<td align="left" width="50%">1. <b><a title="Wat" href="http://www.exmple.com/q.html">Wat</a></b><br></td>
Am I missing something?
Thanks all for any help