Quote:
Originally Posted by lomkiri
I think the OP wants the contrary, he wants to target the paragraph when the sentence doesn't begin with <space><em-dash> (really, it was a bit confusing, I hope I understood correctly)
So since the expression that shall avoid the replacement is a group of 2 chars (i.e. <space>—), I'm afraid we need a negative lookbehind once more.
The thing is that a space at the beginning of the paragraph is useless, is not displayed, and is not recommended. If there wouldn't be any, it would have been easier.
|
Correct, if the sentence starts with <p class> <span class><space><em-dash> I do not detect the next dotspace«space in the second part of the dialogue.
I can do a simple search and replace to remove the space after the html mark.
Best regards