Title |
Test
Find
Pattern Title
|
Expression |
\b([\d\w\.\/\+\-\?\:]*)((ht|f)tp(s|)\:\/\/|[\d\d\d|\d\d]\.[\d\d\d|\d\d]\.|www\.|\.tv|\.ac|\.com|\.edu|\.gov|\.int|\.mil|\.net|\.org|\.biz|\.info|\.name|\.pro|\.museum|\.co)([\d\w\.\/\%\+\-\=\&\?\:\\\"\'\,\|\~\;]*)\b |
Description |
Url matching |
Matches |
http://210.50.2.215/sd_new/WebBuilder.cgi?RegID=7449046&First=Ok&Upt=Ok&EditPage=3&S |
Non-Matches |
Hmmmm |
Author |
Rating:
Johky Cheng
|
Source |
|
Your Rating |
|
Title: Excellent regex!!!
Name: DG
Date: 10/4/2008 6:16:19 PM
Comment:
Not sure why this isn't more popular or higher rated. Seems to work with everything:
example.com
www.example.com
http://example.com
example.com/asdf.php?id=1
<a href="">
Also does what I was looking for and can filter the url out of a <a href> tag.