answered
2012-08-08 08:08:56 +0200
Oldbwl 63 ● 1 ● 2 ● 10 Yes I have enabled the regular expressions option, of course. My reference to already using \n ought to have indicated that, sorry for not being clearer. I know I can search for \t, as I found that in my searches before asking my question.
In Word you can search for ", ^p" (i.e. comma, space, paragraph mark, no speech marks) and replace with ", " (comma, space, no paragraph mark) which will remove the paragraph mark. Simple, powerful and can be extended for all sorts of operations.
There appears to be no straight simple method of doing this in LibreOffice - there is no \p like the \t and \n etc.
I Know I can search "^$" and replace "" to remove empty paras, but my requirement is to remove just the para-mark depending on what I find immediately before it. Finding a comma or lower case letter immediately followed by the para-mark indicates a broken sentence, I want to test for that and remove the para-mark.
I know I can test for [a-z]$ etc, but I can't find a way to just delete the end of Para mark when it finds them.