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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
(?<http>(http:[/][/]|www.)([a-z]|[A-Z]|[0-9]|[/.]|[~])*)
Description
This is HTTP Url extractor
Matches
http://www.abc.com | www.mpgrewal.tk
Non-Matches
noida-India | crazy123
Author Rating: The rating for this expression. Manpreet Grewal
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: Fresher
Name: abcd
Date: 12/26/2011 2:55:09 AM
Comment:
hi


Title: Bug
Name: Yasar
Date: 3/21/2011 11:44:26 PM
Comment:
i have tested "wwww" this value , this validation is accepting this wrong value.kindly check this value.


Title: Bug
Name: Yasar
Date: 3/21/2011 11:39:42 PM
Comment:
i have tested "wwww" this value , this validation is accepting this wrong value.kindly check this value.


Title: Bug
Name: Yasar
Date: 3/21/2011 11:39:28 PM
Comment:
i have tested "wwww" this value , this validation is accepting this wrong value.kindly check this value.


Title: showing error
Name: Ninu sajil
Date: 2/25/2009 12:05:14 AM
Comment:
showing error as Error: invalid quantifier ?<http>(http:[\/][\/]|www.)([a-z]|[A-Z]|[0-9]|[\/.]|[~])*)


Title: ?,$ = %
Name: chris
Date: 12/3/2004 10:18:43 AM
Comment:
go look at the rfc, urls can have more than just ~ in them


Title: Not very accurate
Name: Pirate
Date: 11/12/2004 10:17:05 PM
Comment:
ex : httpd://www.csharpspider.com/ http://wwww.csharpspider.com/ it says these are valid .


Title: Well
Name: MackanZoor
Date: 8/28/2004 11:12:34 AM
Comment:
It's okay but doesn't handle special URL's, like "http://www.whatever.com/?page=duck&id=123" It also include single stand-alone periods at the end of the URL.


Title: Really get all HTTP Links!
Name: CommanderS
Date: 6/24/2004 5:41:14 PM
Comment:
The "-"character is the only special character allowed in urls; so the expression (?<http>(http:[/][/]|www.)([a-z]|[A-Z]|[0-9]|[/.]|[~]|-)*) really does it all!! Thanks for helping me out, greetz CommanderS


Title: Not correct
Name: Indrajeet Patil
Date: 12/9/2003 6:20:59 AM
Comment:
It accepts anything!


Title: test
Name: janette
Date: 12/2/2003 8:07:13 AM
Comment:
nice work. thx for ur help


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