I did the work and wrote the following regex:
/^([0-9.]+)$/
This is satisfying for the following conditions:
123.123.123.132
123123213123
Now I need add one more feature for this regex that it can have one alphabet in the Phone Number like
123.a123.b123.123
but not
123.aa1.bb12
I tried with
/^([0-9.]+\w{1})$/
It can contain only one alphabet between the .(dot) symbol. Can someone help me on this !!!
Thanks in Advance !!