Displaying page
of
pages;
Items to
Title |
Test
Details
Url Pattern
|
Expression |
^((f|ht)tp(s)?)\://([a-zA-Z0-9\-]+\.)*[a-zA-Z0-9\-]+\.[a-zA-Z]{2,6}((/|\?)[a-zA-Z0-9\.\?=/#%&\+-]+|/|)$
|
Description |
Pattern test for general validity of a Url. It is a little stricter than many others here, as I found they often passed obviously invalid strings like 'http://foo', but is still fairly concise.
|
Matches |
http://foo.com http://www.foo.bar.com https://foo.com?id=123
|
Non-Matches |
http://foo http://foo..bar
|
Author |
Rating:
Not yet rated.
Dan Billingsley
|
Displaying page
of
pages;
Items to