Title |
Test
Find
Phone Number Validation for Finland
|
Expression |
^((([\+][\s]{0,1})|([0]{2}[\s-]{0,1}))([358]{3})([\s-]{0,1})|([0]{1}))(([1-9]{1}[0-9]{0,1})([\s-]{0,1})([0-9]{2,4})([\s-]{0,1})([0-9]{2,4})([\s-]{0,1}))([0-9]{0,3}){1}$ |
Description |
General phone number validation for Finland.
It will pass old and new format numbers.
Between numbers space or dash can be used ones.
number has to start
+358 or 00358 or 0
are code can be 2 or 3 digit. I could not come with better idea then this |
Matches |
003589999999 | 00 358 999 999 | 00 358 9999 999 | 00 358 999 9999 | 091212 | 09 99 99 99 |
Non-Matches |
050 999 9999 9999 999 | 151212 |
Author |
Rating:
Hakan Kucukel
|
Source |
hkucukel |
Your Rating |
|
Title: Useless
Name: Timo
Date: 9/28/2012 3:42:40 AM
Comment:
This is simply useless as you can give any invalid phone number to it also. Ok, it does match the pattern but otherwise no use