How To Filter Link in HTML Page With Regex Partern

preg_match_all('/(href=)(.*?)(")/i',$response,$patterns);
var_dump($patterns[2]);

Good luck!


Leave a Reply

Your email address will not be published. Required fields are marked *