[Solved] Search & Replace - Tabs and Paragraph marks

Discuss the word processor

[Solved] Search & Replace - Tabs and Paragraph marks

Postby MMHouston » Wed Jan 16, 2013 4:52 pm

I have imported a large test file that resulted in a series of line all ending with a paragraph mark. I know I can search for paragraph marks (\n) but I would also like to use tabs as replacements for two paragraph marks in series. What is the character code for tabs (\t?)?

Thanks for your help.
Last edited by MMHouston on Wed Jan 16, 2013 5:35 pm, edited 1 time in total.
OpenOffice 3.4 Windows 7 64 bit
MMHouston
 
Posts: 1
Joined: Wed Jan 16, 2013 4:47 pm

Re: Search & Replace - Tabs and Paragraph marks

Postby Hagar Delest » Wed Jan 16, 2013 5:24 pm

Hi and welcome to the forum!

See [Solved] Find and replace paragraph breaks.
You can try this macro also: Convert ASCII text files by deleting extra paragraph breaks.

And: [Tutorial] How to install a code snippet.

And yes, tab code is \t. Look at the AOO help file for the list of regular expressions with some samples.

Please add '[Solved]' at the beginning of your first post title (edit button) if your issue has been fixed.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28957
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Search & Replace - Tabs and Paragraph marks

Postby naprapath » Fri Dec 25, 2015 3:06 am

I have tried this, but it doesn't work. I keep getting the message: Search key not found!
Apache Open Office 4.1.2

Windows 8.1
naprapath
 
Posts: 3
Joined: Fri Dec 25, 2015 2:42 am

Re: [Solved] Search & Replace - Tabs and Paragraph marks

Postby naprapath » Fri Dec 25, 2015 5:53 am

Worked after I clicked 'regular expressions'.
Apache Open Office 4.1.2

Windows 8.1
naprapath
 
Posts: 3
Joined: Fri Dec 25, 2015 2:42 am


Return to Writer

Who is online

Users browsing this forum: No registered users and 25 guests