Paperbag
27th December 07, 08:46 AM
I have the following string:
<li><a href="index.php?site=home">Front page</a></li>
I need to get the two things marked in blue. Either as two separate variables or as an array ([0] and [1]).
Can anybody tell me the exact regular expression to use with preg_match to do this?
I'm clueless when it comes to regular expressions and can't find any simple documentation for this.
<li><a href="index.php?site=home">Front page</a></li>
I need to get the two things marked in blue. Either as two separate variables or as an array ([0] and [1]).
Can anybody tell me the exact regular expression to use with preg_match to do this?
I'm clueless when it comes to regular expressions and can't find any simple documentation for this.