|
|
Question : Validate UK Mobile Phone Numbers
|
|
Hi,
Does anybody know of an algorithm with which to validate UK mobile phone numbers? I think numbers from different operators have different prefixes, but is there a definitive way to say number x is valid, but number y isn't (e.g. as you can with a credit card)?
And on a related note, is it possible to 'sniff' whether a mobile phone would accept MMS messages by interacting with it in some way (excluding sending an sms saying 'D U WANT PICTURES?')
A cheeky double-header, but interested to hear what yout think.
Cheers subtext101
|
Answer : Validate UK Mobile Phone Numbers
|
|
WE can write a reg exp for the phone, no problem
but we need to no the pattern
US example (123)456-7890 or (123) 456-7890
|
|
|
|
|