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 Title
Expression
^([2-9])(\d{2})(-?|\040?)(\d{4})( ?|\040?)(\d{1,4}?|\040?)$
Description
A regular expression that validates the any format of fixed telephone numbers inside Lima - Peru, including an optional extension of at least one number up to four numbers.
Matches
263-8854 | 5660578 1235 | 622-4588 21
Non-Matches
1227585 | 4224586 50124 | 0554499
Author Rating: Not yet rated. Alan Ferrandiz Langley
Title Test Details Pattern Title
Expression
^([8-9])([1-9])(\d{2})(-?|\040?)(\d{4})$
Description
A regular expression that validates the any of the new formats of cellular phones numbers in Peru, allows an optional dash in the middle of the number.
Matches
8874-2544 | 99106800 | 84509955
Non-Matches
6540-9985 | 77329390 | 725-2763
Author Rating: Not yet rated. Alan Ferrandiz Langley
   Displaying page 1 of 1 pages; Items 1 to 2

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