Hello,
I'm really not a regexp expert. I tried studying on it, but I just don't succeed in producing my own working regexp... and I really need one to check for validity on Belgian phone numbers (both regular phone and cellphone numbers).
I have started from a regexp for us phone numbers on the site: http://regexlib.com/Search.aspx?k=phone, but the way Belgian phone numbers are entered on a web form is different from an US phone number.
In Belgian, regular phone numbers are 9 digits long, and they are entered as:
055 60 60 60, 02 555 56 56, 055/60 60 60, 055606060, 055/60.60.60, 055.60.60.60, 055 606 606, 055/606 606, 09/366 36 36
Cellphone numbers always start with 04, and are always 10 digits long:
0474 74 74 74, 0474 744 744, 0474/744 744, 0474.74.74.74, etc.
I really hope somebody could please help me with a working regexp... I'm already trying for some hours producing my own regexp, but unfortunately I just don't succeed... :(
Thanks a lot!!
Kind regards,
Geoffrey Beulque