I'm stuck with a grep problem I thought would be easy, but its not, at least for me.
I need to do a grep search to every coma "," at the end of a paragraph and replace it with nothing. At first I was using "$" at the end of the paragraph because it's supposed to mean "end of paragraph", but unfortunately, it's also searching the "," at the end of a forced break line inside a paragraph.
The the GREP is basicaly:
I tried this one too:
(?:[\n]) is supposed to ignore \n which is a forced break line I thought.
So, have you any idea on how I can ignore the forced break lines in a paragraph?
Thanks a lot Jean-Claude, both solutions work perfectly!
If I understand, the first one search for a "coma" and after it the search must be followed by a paragraph mark, and the second one should be the correct syntax to find any coma at the end of a paragraph excluding any forced break line.