Advertisement
siristru

Extract URL from string

Dec 6th, 2019
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.10 KB | None | 0 0
  1. preg_match_all('#\bhttps?://[^,\s()<>]+(?:\([\w\d]+\)|([^,[:punct:]\s]|/))#', $this->image->link, $match);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement