I got this stubborn EM DASH character that I'm trying to remove using regex, but for some reason I can't get it to work. This is the code I'm using.
editedSource = re.sub(r'\u2014','',str(source))
What am I doing wrong here? I'm pretty sure I got the right character code. Here's the character:
—
and it shows up like
—
.
Thanks!