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 For Accepting only Indian mobile numbers with exactly 10 Digits or blank
Expression
^[89][0-9]{9}
Description
This will accept all the Mobile nos starting with 8 or 9 and having exactly 10 digits (total) or it must be blank
Matches
9323444432,8022234456,8812345678
Non-Matches
72,54353454,01212,7644321108,79055,asdfg,12ase
Author Rating: Not yet rated. Anand Khandelwal
Title Test Details Accepts everything except Zero and Double Zeros(0,00 are invalid Values)
Expression
[0][^0]|([^0]{1}(.){1})|[^0]*
Description
Accepts everything except Zero and Double Zeros(0,00 are invalid Values) for two Non Zero digits without using a RangeValidator
Matches
05,5,55,5A,50
Non-Matches
00,0
Author Rating: Not yet rated. Anand Khandelwal
   Displaying page 1 of 1 pages; Items 1 to 2

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