Skip to main content

Thread: LibreOffice Regex: replace [:alpha:]$


hi there,

friend lost dissertation , had pdf copy of it. trying convert pdf odt format. after copy-pasting content odt, need replace paragraph breaks not following dot space. thought of using regular expression feature of libre office. i've not succeeded far.

tried: replace [:alpha:]$ or [a-z]$ or [a-z]\>$ space, none of them worked.
finding [a-z] seems work, finding [a-z]\> too. did finding $ (end of paragraph) if combine regex $ doesn't find anything.

can help? thanks.

two 3 steps might work (try on copy first).

1. remove paragraph marks

find $ replace ' ' (a space)
find
code:
$
use single space in replace box

2. find '.' , replace ".new line".

find
code:
([:alpha:])\.
replace
code:
$1.\n
3. remove excess white space @ front of lines

find
code:
^ *([:alpha:])
replace
code:
$1
that should close


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] LibreOffice Regex: replace [:alpha:]$


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support