Is there any way to ignore all url that contains media? I'm using this line:
preg_match_all("/((?:http|https):\/\/(?:www\.)*(?:[a-zA-Z0-9_\-]{1,15}\.+[a-zA-Z0-9_]{1,}){1,}(?:[a-zA-Z0-9_\/\.\-\?\&\:\%\,\!\;]*))/", $content, $matches);
So, I need to ignore this links (and all media type):
http://ift.tt/1RHJGes
http://ift.tt/1XL1Wun
http://ift.tt/1RHJyf0
...
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire