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 1
Title Test Details Israel generic phone number
Expression
^\b\d{2,3}-*\d{7}\b$
Description
Matches almost all Israel phone numbers (without 1800). Generic means it doesn't have a list of allowed prefix (i.e 050,03) because it changes frequently. Instead it accepts any 2-3 digits prefix, with or without hyphen.
Matches
03-1234567 | 050-1234567 | 0771234567
Non-Matches
1-800-1234567 | 04-123456 | 9-1234567 | 1234567
Author Rating: The rating for this expression. KeeperOfLogic
   Displaying page 1 of 1 pages; Items 1 to 1

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