a small problem with regex, simple as a pie for those who know, impossible for those who don't :)
I have little experience with regex, so I need your help. I have a pattern that matches urls
[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]
this matches all url. I just need to change this regex to match all urls. EXCLUDES the URL "youtube.com".
http://www.google.com MATCH http://example.com MATCH http://asdasdasfsadfsdfasfsdfs.com MATCH http://www.youtube.com MUST NOT MATCH http://youtube.com MUST NOT MATCH
(I think you understand)
Thanks in advance guys!
source share