Ho to get a specific value from an array?
Hi, I am scraping a site to get its all url inside a div. I got multiple links from that div.
preg_match_all('#\bhttps?://[^,\s()<>]+(?:\([\w\d]+\)|([^,[:punct:]\s]|/))#', $table, $match);
print_r($match[0]);
Code (markup):
I got […]
See original post by invalid@example.com (KingCobra)
Leave a Reply
You must be logged in to post a comment.