Jump to content

Recommended Posts

Hello,

 

How can I make a preg_match_all string that would search for links

preg_match_all("#([ \s\n\t\r]|)((ftp|http)://(([\w]+?.|)(imdb.bayw.org|tvrage.com|tv.com|imdb.com|gamespot.com)[\S]{5,150})[^ \>\<\s\'\"\n\r\t<]*)#ise", $fix, $extralinks);

 

and the search the preg_match_all, if it has 3 dots "..." then dont show the result, else show it

Link to comment
https://forums.phpfreaks.com/topic/89604-solved-preg-match-all-find-3-dots/
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.