need a regular to expression to format phone numbers. Phone number will contain hyphens(-),underscore(_),opening,closing brackets ((),()),white spcae,dot(.)
will pass this phonenumber to method and it will return formatted phone number by removing this characters
suppose (88-88-1234-00 this is phone number it will return 8888123400
if it is 88_88123_400 it will return 8888123400


Sachin SinghRank #66 · 26.2K reputationPosted Nov 15, 2021, 3:20 AM EST
Vikas PanwarRank #1,447 · 1.1K reputationPosted Nov 15, 2021, 3:49 AM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Nov 15, 2021, 4:10 AM EST