We can use regex ([0-9]{10})|(\([0-9]{3}\)\s+[0-9]{3}\-[0-9]{4})

BY Best Interview Question ON 13 Jan 2019

Suggest An Answer