I had a html content like this : HTML: <tr> <td colspan="4"> <p align="center"> <img src="chart10.chart?no_cache=5608" %> </tr> and i saved the above content in $content I used : PHP: preg_match_all("/(<td colspan=\"4\">(.*?)<\/td>)/",$content, $match); and then print_r($match); and it display : Array ( [0] => Array ( ) [1] => Array ( ) [2] => Array ( ) ) I dont know what's problems here, please help me ( Although i have tried to use preg_match instead of pre_match_all)