For example href://http://facebook.com/groups/
or even
href://http://northumbria.ac.uk/brochure/courses/fees/?view=Standard
this is what i got so far
href="http://.(\..+)+(/.+)*
What I was thinking maybe if it is secured, allow https, and possible www. after the http:// so that would be
href="https?://(w{3}|.+)(\..+)+(/.+)*
So my question is there a way to do this better, more efficiently or simply just make it look nicer ? Or am I missing something there ?