You are not logged in.

#1 2021-10-02 15:17:08

makh
Member
Registered: 2011-10-10
Posts: 305

[Solved] Libreoffice Writer: select the whole paragraphs & replace it

Hi

To select and replace all the paragraphs starting with "[Translation:]": I am trying to achieve something like:

^.(\bTranslation:)$

This shorter code works, but I am unable to code for the whole paragraph:

^.(\bTranslation)

Very kind of you to guide!

Thankyou

Last edited by makh (2021-10-03 13:47:02)


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

#2 2021-10-03 02:03:11

Swiggles
Member
Registered: 2014-08-02
Posts: 266

Re: [Solved] Libreoffice Writer: select the whole paragraphs & replace it

For a simple paragraph it would be this

^.*\bTranslation\b:.*$

or if you want to match the square brackets at the beginning of the line use this instead

^\[\bTranslation\b:\].*$

Offline

#3 2021-10-03 13:46:32

makh
Member
Registered: 2011-10-10
Posts: 305

Re: [Solved] Libreoffice Writer: select the whole paragraphs & replace it

Hi

Its solved it!

Thankyou


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

Board footer

Powered by FluxBB