I need a Regex for all URLs:
I'm using:
(((http)s?(:\/\/)(w{3})?)|(w{3})| (http)s?)((.))[A-Z a-z 0-9]*.([A-Z a-z]){0,3}
The result should be:
www.demo.com (OK)
http://foo.co.uk/(Not OK bad .uk)
http://foo.com/foo.html?q=bar (OK)
https://www.lol.lol (OK)
http://www.foo.foo.fr( Not OK bad .fr)