Remove dash from a phone number

Posted by zoom_pat277 on Stack Overflow See other posts from Stack Overflow or by zoom_pat277
Published on 2010-04-26T22:37:53Z Indexed on 2010/04/26 22:43 UTC
Read the original article Hit count: 142

What regular expression using java could be used to filter out dashes '-' and open close round brackets from a string representing phone numbers...

so that (234) 887-9999 should give 2348879999 and similarly 234-887-9999 should give 2348879999.

Thanks,

© Stack Overflow or respective owner

Related posts about regular-expression

Related posts about dash