Hi, back with another basic regex question. I know just the rudiments of regex "search", but nothing about the "replace" aspect of it. Looked at an online tutorial regarding it:
... but found it quite hard to follow - offering very few examples. What I want to do isn't very complicated - basically just a phone number extraction/modification. For example:
Here is my source text string:
Bob, Smith, 256-871-9082
My regex search statement is : \d\d\d[\-]\d\d\d[\-]\d\d\d
After grabbing the matching phone number, I'd like to do a "replace" on the match to modify it to look like so:
Any suggestions please, on the regex "replace" statement I would need?