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 4
Title Test Details E-mail validation
Expression
^[a-zA-Z][a-zA-Z0-9_\.\-]+@([a-zA-Z0-9-]{2,}\.)+([a-zA-Z]{2,4}|[a-zA-Z]{2}\.[a-zA-Z]{2})$
Description
This will validate most legal e-mail adresses with the correct syntax.
Matches
name@website.com | first_second@website.co.uk | blah.blah.007@website.se
Non-Matches
0name@website.com | name&@website.net | blahblah@website
Author Rating: Not yet rated. Viktor Nagy
Title Test Details Website validation
Expression
^((http|https|ftp):\/\/(www\.)?|www\.)[a-zA-Z0-9\_\-]+\.([a-zA-Z]{2,4}|[a-zA-Z]{2}\.[a-zA-Z]{2})(\/[a-zA-Z0-9\-\._\?\&=,'\+%\$#~]*)*$
Description
This will validate most legal websites, including ftp.
Matches
http://www.website.com | www.website.co.uk | ftp.stuff.org | http://website.com/directory/directory/file.php?question=answer
Non-Matches
abc://www.name.com | www.website | http//www.website.com | website.com
Author Rating: The rating for this expression. Viktor Nagy
Title Test Details Tel Validation
Expression
^(([0-9]{3})[-]?)*[0-9]{6,7}$
Description
This validates most telephone numbers in Sweden.
Matches
031-3224562 | 0737234264 | 073-5647829
Non-Matches
34348abc | 452643242343432432435643623432 | 532
Author Rating: Not yet rated. Viktor Nagy
   Displaying page 1 of 1 pages; Items 1 to 4

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