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 Pattern to validate an Email
Expression
/^[a-z][\w\.]+@([\w\-]+\.)+[a-z]{2,7}$/i
Description
This pattern is set to case in-sensitive (i.e '/i').
Matches
Non-Matches
test@teesat|test12122|[email protected]
Author Rating: Not yet rated. Diptesh Patel
Title Test Details US Phone Validation
Expression
^[\d]{3}[\s\-]*[\d]{3}[\s\-]*[\d]{4}\s*$
Description
Used to check US phone pattern
Matches
222-222-2222|333 333 3333
Non-Matches
3333333|3333-333-33
Author Rating: Not yet rated. Diptesh Patel
   Displaying page 1 of 1 pages; Items 1 to 2

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