I have such regexp:
re.compile(r\"((https?):((//)|(\\\\\\\\))+[\\w\\d:#@%/;$()~_?\\+-=\\\\\\.&]*)\", re.MULTILINE|re.UNICODE)
But that
I'll admit that I'm a little bit worried about an application that requires a regex like that to match URLs. That said, this seems to work for me:
((https?):((//)|(\\\\))+([\w\d:#@%/;$()~_?\+-=\\\.&](#!)?)*)