hi, i try to parse html data with php's preg_match_all() function. here is a sample data that i try to parse:
<a href="http://www.xxx.com" class=M>xxx</a> the regular expression that i use is: preg_match_all("/<a[ ]href=\"([^\"]+)\"[ ]class=M>([^<]+)<\/a>/",$buffer,$ma tch); by this expression i get the same values more then one time. but i absolutely know that there's no repetation of same value. probably my problam is about the regular expression that i use. any help will be great help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php