[BangPypers] regular expression for Indian landline numbers

Kenneth Gonsalves lawgon at au-kbc.org
Fri Nov 26 07:03:52 CET 2010

On Fri, 2010-11-26 at 09:03 +0530, Dhananjay Nene wrote:
> So all one really needs to do (say if one wants to call back) is to
> extract
> one single 10 digit number using the above logic by stripping off the
> optional prefixes and the extra characters (which I presume would be
> quite
> trivial). But then maybe my mind is not working well today early
> morning :) 

and how does one distinguish the STD code from the phone number? my std
code is 4 digits and my phone number is 7 digits - but someone can
assume that the std code is 3 digits and the phone number is 8 digits -
and when he comes within my local area, he cannot phone me. That is why
the STD code and the phone number *must* be separated by something,
otherwise it is impossible to parse. 
Kenneth Gonsalves

More information about the BangPypers mailing list