Displaying page
of
pages;
Items to
Title |
Test
Details
A Liberal, Accurate Pattern for Matching URLs
|
Expression |
\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))
|
Description |
Identifies the URLs in an arbitrary string of text, where by “arbitrary” let’s agree we mean something unstructured such as an email message or a tweet. Source: daringfireball.net
|
Matches |
http://foo.com/blah_blah | http://foo.com/blah_blah/ | (Something like http://foo.com/blah_blah) | http://foo.com/blah_blah_(wikipedia) | (Something like http://foo.com/blah_blah_(wikipedia)) | http://foo.com/blah_blah. | http://foo.com/blah_blah/. | <http://foo.com/blah_blah> | <http://foo.com/blah_blah/> | http://foo.com/blah_blah, | http://www.example.com/wpstyle/?p=364. | http://✪df.ws/123 | rdar://1234 | rdar:/1234 | http://userid: [email protected]:8080 | http:// [email protected] | http:// [email protected]:8080 | http://userid: [email protected]
|
Non-Matches |
no_ws.example.com | no_proto_or_ws.com | /relative_resource.php
|
Author |
Rating:
Not yet rated.
Scott C
|
Displaying page
of
pages;
Items to