Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
\b(((\S+)?)(@|mailto\:|(news|(ht|f)tp(s?))\://)\S+)\b
|
Description |
Whilst writing a plain-text to HTML function, I ran into the problem of links that users had written with <a> tags (as opposed to just writing the URL) were linking improperly. This regular expression returns many types of URL, and preceding characters, if any. This allows you to handle each type of match appropriately
|
Matches |
|
Non-Matches |
www.deepart.org | deepart.org | 123.123.123.123
|
Author |
Rating:
Not yet rated.
Demo Gorgon
|
Displaying page
of
pages;
Items to