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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
[a-zA-Z]{3,}://[a-zA-Z0-9\.]+/*[a-zA-Z0-9/\\%_.]*\?*[a-zA-Z0-9/\\%_.=&]*
Description
A simple url search pattern that works against the most generic cases. A little better in terms of matches than the other URL expressions listed.
Matches
http://someserver | http://www.someserver.com/ | http://www.someserver.com/somefile.txt
Non-Matches
Thin | Lizzy
Author Rating: Not yet rated. Gerrard Lindsay
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: test result
Name: duke
Date: 2/27/2013 5:04:47 AM
Comment:
does not mutch 'www' domain name => www.yahoo.com/period


Title: Some problems
Name: David
Date: 6/16/2011 12:12:15 PM
Comment:
Does not match dashes (-) in the domain, e.g. http://service-now.com Does not match anchors, such as http://domain.com/page?arg=1#anchor


Title: this is only a test
Name: this is only a test
Date: 6/3/2009 2:24:41 PM
Comment:
this is only a test


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