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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Accept a url
Expression
/^(www\.|http:\/\/|https:\/\/|http:\/\/www\.|https:\/\/www\.)[a-z0-9]+\.[a-z]{2,4}$/
Description
accept pages that start with www, http or https and ends with a word between 2 and 4 letters
Matches
www.google.com, http://google.com, https://google.com, http://www.google.com, www.google.tk
Non-Matches
google.com
Author Rating: Not yet rated. Jorge
Source Jorge
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-2018, RegexAdvice.com | ASP.NET Tutorials