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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details Valid URL without protocol
Expression
^([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?$
Description
Use this expression to check that a valid web address is used without any protocol.
Matches
www.myurl.com | myurl.com/default.aspx?i=id | www3.myurl.com/?a
Non-Matches
www.my url.com | myurl.com/default.aspx?i=1 2 3 | www3.myurl.com?a | http://myurl.com
Author Rating: The rating for this expression. Craig Palenshus
   Displaying page 1 of 1 pages; Items 1 to 2

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