Displaying page
of
pages;
Items to
Title |
Test
Details
Validate URL
|
Expression |
^((http://)|(https://))((([a-zA-Z0-9_-]*).?([a-zA-Z0-9_-]*))|(([a-zA-Z0-9_-]*).?([a-zA-Z0-9_-]*).?([a-zA-Z0-9_-]*)))/?([a-zA-Z0-9_/?%=&+#.-~]*)$
|
Description |
A regex I came up with for validating urls, didn't test thoroughly but seems to do the trick.
|
Matches |
http://sportsalert.net, https://www.sportsalert.net, http://sportsalert.net.uk, http://sportsalert.net/index.html, http://sportsalert.net/subdirectory, http://sportsalert.net?var1=param1&var2=param2
|
Non-Matches |
www.sportsalert.net, http://.sportsalert.net, http://sportsalert..net
|
Author |
Rating:
Justin Toth
|
Displaying page
of
pages;
Items to