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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find URL finder
Expression
http://\([a-zA-Z0-9_\-]\+\(\.[a-zA-Z0-9_\-]\+\)\+\)\+:\?[0-9]\?\(/*[a-zA-Z0-9_\-#]*\.*\)*?\?\(&*[a-zA-Z0-9;_+/.\-%]*-*=*[a-zA-Z0-9;_+/.\-%]*-*\)*
Description
Find http:// urls. You can replace at the beginning the http:// with a protocol you like as https:// ftp:// etc.
Matches
http://domain.com/ | http://www.domain.com/results?page=2&var=1 | http://www.domain.com/results.html#here | http://www.domain.com:8888/results.html
Non-Matches
/results?page=2 | index.html | www.domain.com
Author Rating: Not yet rated. Demosthenes Koptsis
Source Demosthenes Koptsis
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