RegExLib.com - The first Regular Expression Library on the Web!
Home
Search
Regex Tester
Browse Expressions
Add Regex
Login
Please support RegExLib Sponsors
Subscribe
Recent Expressions
Site Links
Regex Cheat Sheet
Search
Regex Tester
Browse Expressions
Add Regex
Manage My Expressions
Contributors
Regex Resources
Web Services
Advertise
Contact Us
Register
Recent Expressions
Recent Comments
Community
Regex Forums
Regex Blogs
Regex Mailing List
Top Contributors
Michael Ash (55)
Steven Smith (42)
Matthew Harris (35)
tedcambron (29)
PJWhitfield (28)
Vassilis Petroulias (26)
Matt Brooke (22)
Juraj Hajdúch (SK) (21)
Mukundh (21)
RobertKaw (19)
All Contributors
Advertise with us
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-2025,
RegexAdvice.com
|
ASP.NET Tutorials