Hello,
I am working with a data set that needs to be scrubbed. I am looking to replace the question marks(?) with the em-dash code(—
). Here is an example string:
"...shut it down?after taking a couple of..."
I can match that instance with this expression: \w\?\w However, it matches one character on either side of the question mark. So the replace looks like this:
"...shut it dow—
after taking a couple of..."
How can I match just the pattern while only replacing the question mark?
Thanks in advance, Jason