Builds a regexp to match phone-numbers.
yarn add phone-regex-ts
import phoneRegex from 'phone-regex-ts'
console.log(phoneRegex().test('11234567890'))
// => true
var phoneRegex = require('phone-regex-ts');
console.log(phoneRegex().test('11234567890'))
// => true
@param indian [false] - match Indian phone numbers
@param exact [false] - perform an exact match