Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*[^\.\,\)\(\s]$
|
Description |
This Regex (can be used e.g. in PHP with eregi) will match any valid URL. Unlike the other exapmles here, it will NOT match a valid URL ending with a dot or bracket. This is important if you use this regex to find and "activate" Links in an Text
|
Matches |
https://www.restrictd.com/~myhome/
|
Non-Matches |
http://www.krumedia.com. | (http://www.krumedia.com) | http://www.krumedia.com,
|
Author |
Rating:
Not yet rated.
Michael Krutwig
|
Displaying page
of
pages;
Items to