I'm trying to use find and replace to repalce commas with carriage returns or paragraph code. Iin Word used ^p to represent pragraph code what is the equivalent in OO.
Thanks
Hywel
[Solved] Find and replace paragraph marks
-
- Posts: 2
- Joined: Sun Dec 13, 2009 9:01 pm
[Solved] Find and replace paragraph marks
Last edited by Hagar Delest on Tue Dec 15, 2009 12:26 am, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
OpenOffice 3.1.1 on Windows 7
Re: Find and replace paragraph marks
Look up the list of regular expressions (regexes) in the F1-help. With regex option $ matches a paragraph mark, \n matches a new line.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
- Robert Tucker
- Volunteer
- Posts: 1250
- Joined: Mon Oct 08, 2007 1:34 am
- Location: Manchester UK
Re: Find and replace paragraph marks
You may find it easier to install and use AltSearch.
LibreOffice 7.x.x on Arch and Fedora.
Re: Find and replace paragraph marks
In Find and Replace:
Search = ,
Replace = \n (a paragraph break when used in the Replace box but a line break when used in the Search box - why, why, why?)
Regular Expressions must be checked.
Search = ,
Replace = \n (a paragraph break when used in the Replace box but a line break when used in the Search box - why, why, why?)
Regular Expressions must be checked.
-
- Posts: 2
- Joined: Sun Dec 13, 2009 9:01 pm
Re: Find and replace paragraph marks
Thanks guys - all helpful easiest I found was John V.
Hywel
Hywel
OpenOffice 3.1.1 on Windows 7
Re: Find and replace paragraph marks
Having solved your immediate problem, you should look at Altsearch extension, as Robert Tucker suggests. This can co-exist with normal find and replace and is more powerful; sometimes too powerful, but they both have their uses.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS