Quote:
Originally Posted by theducks
<dehyphen pass>
([a-z]-)</p>\s+([a-z])
\1\2 <no space in this replace. Also a step through pass
And you might want to do a emdash pass as well
|
Thanks Ducks!
I am nowhere close to an expert on regex... could you not do the third pass like such to get dash and emdash on the same pass?
<dehyphen pass>
([a-z])([-—])</p>\s+([a-z])
\1\3
The way I read yours is that it includes the "-" in the first parenthesis and would thus put it back on the replace.