Hi Chris,

On 13/04/2024 18:10, Chris J. wrote:
Ubuntu linux 23.10

LibreOffice 7.6.5.2


So, question; is there a way to automate the application of the styles and 
remove the tabs at the beginning of paragraphs. Normal find and replaces 
doesn't cut it. Otherwise I'm forced to go through several books by hand.

You can find tabs using the standard Find and Replace (Ctrl+H). In the Find 
box, enter \t and leave the Replace box  empty.

You will need to check the *Regular Expressions* box in the Find and Replace 
dialog.

Like all Find and Replace ops, be wary of hitting the 'Replace All' button in 
case you have used tabs anywhere else in the document other than at the start 
of a paragraph. \t will locate all the tabs used within the the doc.

If you *only* want to find a tab at the beginning of a paragraph, you can use 
^\t in the Find box.  I checked this in LO 7.3.7.2 in Ubuntu 2204 and it works 
fine.

You can also use Find and Replace to locate one paragraph style and replace it 
with another. In this case you will have to select the Paragraph Styles box. 
This operation works fine to change styles but it will not remove any 'ad hoc' 
manual formatting such as Bold, Italic, tabs which you may have applied in the 
unwanted paragraph style's text.



hth
Philip


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
Privacy Policy: http://www.documentfoundation.org/privacy

Reply via email to