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 Validate HTM/HTML/ASP/ASPX
Expression
^([a-zA-Z1-9]*)\.(((a|A)(s|S)(p|P)(x|X))|((h|H)(T|t)(m|M)(l|L))|((h|H)(t|T)(M|m))|((a|A)(s|S)(p|P)))
Description
Validate HTM/HTML/ASP/ASPX e.g. PageName.html
Matches
pagename.html,pagename.aspx,pagename.asp,pagename.htm
Non-Matches
pagename.txt,
Author Rating: Not yet rated. Amitesh Raja
Title Test Details Validate URL
Expression
(((ht|f)tp(s?):\/\/)(www\.[^ \[\]\(\)\n\r\t]+)|(([012]?[0-9]{1,2}\.){3}[012]?[0-9]{1,2})\/)([^ \[\]\(\),;"\'<>\n\r\t]+)([^\. \[\]\(\),;"\'<>\n\r\t])|(([012]?[0-9]{1,2}\.){3}[012]?[0-9]{1,2})
Description
Validate URL e.g. http://www.sample.com, http://61.61.67.123/test.html
Matches
http://www.sample.com,http://61.61.67.123/test.html
Non-Matches
yahoo.com,www.yahoo.com,http://yahoo.com
Author Rating: Not yet rated. Amitesh Raja
   Displaying page 1 of 1 pages; Items 1 to 2

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