in reply to Regex check Valid URL
You may find URI helpful. Note the regex given in the "PARSING URIs WITH REGEXP" section.