Regular expressions - Insert line break before a character. [closed]

asked 2014-04-09 18:45:34 +0100

ratrace gravatar image


I have a writer document which contains some paragraphs and I made them to end with a) or b) or c) etc.

Is there a way to insert a line break before a specific character by using regular expressions in find and replace tool? I want to insert a line break three characters before the end of every paragraph, so that a) moves to the start of a new line.

By using regular expressions I can find the text at the end of every paragraph (for expample a) by typing [ ][:alpha:][)]$ in the search for box), but I don't know how to insert line brake (\n) before the appropriate character.


edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2016-02-20 19:10:00.859288