regEx replace
"Claus Busch" wrote:
Hi again,
str = "Call me at (982)555-1234!"
ptrn = "\(|\)|-|!|\d"
Wow, I never woulda guessed that expression.
Can you explain how it works? All I see are
a couple of alternation "|" symbols and one
digit "\d" metacharater.
Also, what pattern works for Social Security
numbers?
|