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 3
Title Test Details Name And Email ID
Expression
([a-z\s.\-_'])*<\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\>
Description
This will work with name in UPPER case and LOWER case with or without spaces may include single quotes and email ID within fish marks.Email Id may include numbers too
Matches
Alex D'souza<Alex2@yahoo.com>
Non-Matches
alex2 D'souza<alex@yahoo.com>
Author Rating: Not yet rated. anisha
Title Test Details name optional to email ID
Expression
([a-z\s.\-_'])*<\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\>|^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*
Description
this pattern has the option of entering email ID with or without name .The name will allow ' and spaces as Alex D'souza
Matches
Alex D'soza <Alex@yahoo.com>
Non-Matches
A12lex<alex@yahoo.com>
Author Rating: Not yet rated. anisha
Title Test Details any number of numbers with or without any number of characters
Expression
^\d*$|^\d+$*[a-zA-Z]*$;^\d+$|^\d+$*[a-zA-Z]+$
Description
this will accept any number and any alphabet. Alphabets are optional but numbers are compulsory
Matches
234 | 23444drrrtr
Non-Matches
esd
Author Rating: Not yet rated. anisha
   Displaying page 1 of 1 pages; Items 1 to 3

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