Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^(((ht|f)tp(s?))\://)?((([a-zA-Z0-9_\-]{2,}\.)+[a-zA-Z]{2,})|((?:(?:25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)(?(\.?\d)\.)){4}))(:[a-zA-Z0-9]+)?(/[a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~]*)?$
|
Description |
Hopefully an all-encompassing expression to validate a URL. Supports an optional protocol, either a domain or IP address, an optional port number and an optional path.
|
Matches |
this.com | https://this.com:8080/this/this.htm | ftp://255.255.255.255/
|
Non-Matches |
.this.com | https://this.com:/ | ftps://255.256.255.255/
|
Author |
Rating:
Tom Hartland
|
Displaying page
of
pages;
Items to