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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find URL Validation
Expression
(((ht|f)tp(s?))\://)?(\bw{3}[^w]\b)?[^w{4}][^\@]([0-9a-zA-Z\-]+\.)+[a-zA-Z]{2,6}(\:[0-9]+)?(/\S*)?
Description
This is a modification to an existing Regular Expression I had that was modified to cater for things like wwww., travel.url.com, url.com/travel, .com.au, and others.
Matches
http://www.url.com|www.url.com|www.url.com/dominos.asp|url.com|www.url.com.au|www.url.travel|travel.url.com
Non-Matches
wwww.url.com|[email protected] | http://wwww.url.com|http://www.w
Author Rating: Not yet rated. Robin Gardner
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

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