hi
as you know this code get all url link in the html code:
$h1count = preg_match_all('/(href=")(.*?)(")/i',$html,$patterns);
$ex=$patterns[2];
print_r ($ex);
but in my html code there are some links like: href="...." and href='.....';
in other mean targets are in "..." or '....'
the pattern of my code find only target in "...."
any one can help me to change this code for find target in both "....." and '......"
thanks