How to parse some text and find if phone number is valid/ invalid?
There is from google: https://github.com/googlei18n/libphonenumber
For a DEMO, chck this link: http://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html
In the above DEMO link,
Give following details
Specify a Phone Number: (enter your phone number, example, N000000000, where N is single digit number)
Specify a Default Country: (enter your courntry clibphonenumberode, example, IN, or US)
Specify a Carrier Code: (not required to enter)
click on
Submit