Reputation: 15573
I tried it on Google but not get proper RE.will someone help me to achieve this : Phone Number: (Country Code)-(City Code)-(Number) Mobile Number: (Country Code)-(Number)
obviously that should not take char. Please help me
Upvotes: 0
Views: 4139
Reputation: 21938
This is the site for regular expression. note it down for future reference, you won't ever be dissapointed
For phone numbers: http://regexlib.com/Search.aspx?k=phone%20number
now here are some samples from there
PhoneNumbers
Mobiles:
Hope it helps
Upvotes: 3