Aniket Narvankar

Aniket Narvankar

  • 562
  • 2.1k
  • 604.7k

C Sharp Regular Expressions

Nov 15 2021 7:37 AM

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


Answers (3)