phorcon3 Posted October 14, 2009 Share Posted October 14, 2009 i need the regex to validate urls, such as 1) www.google.com 2) http://www.google.com 3) https://www.gogle.com 4) htt|ps://www.google.com/index.php?q=blah & www.google.com/index.php?q=blah 5) as well as .../index.php?q=blah&q2=blah2&q3=blah3... 6) http://google.com /(https?:\/\/)?(\w{0,3})?(\w)*?/ would that work? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.