RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find URL
Expression
^((http|https|ftp)\://|www\.)[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,4}(/[a-zA-Z0-9\-\._\?=\,\'\+%\$#~]*[^\.\,\)\(\s])*$
Description
Matches any valid URLs which can activate links in a text.
Matches
www.something.com | http://something.com/something?action=delete | http://www.something.com/~etc
Non-Matches
http://www.something.com/, | wwww.something.com |
Author Rating: The rating for this expression. Viktor Nagy
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Doesn't work in VBScript
Name: REgex newbie
Date: 8/3/2008 3:51:35 PM
Comment:
This is the kind of Regex I was looking for, but... It doesn't work in VB Script!


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials