Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,


(cut)

On 07.03.2011 12:17, gymka wrote:

how in libreoffice writer replace text:
/22./
to
/022./
??? regular expressions not working(or i don't know how to use them) in
replace input. eg. i write "find: [:digit:][:digit:]. and replace with
0[:digit:][:digit:]." and result is "0[:digit:][:digit:]." and i want to
get result like: "022."

If you want to do just that replacement you don't need regular
expression, just replace /22./ by /022./

If you want to replace any digit try
/[:digit:]{2}./ by /0&/
"&" is a placeholder that stands for the search result, as explained
in the LO help for regular expressions.

Karl-Heinz




We publish in our 16th edition of the BrOffice Magazine[1] (Brazilian
community that supports Libreoffice) a well-depth article on the subject by
Julio Neves. Unfortunately it's in Brazilian Portuguese, but interesting if you
can download the magazine in pdf and use a translator, what do you think?

[1]
http://wiki.broffice.org/raw-attachment/wiki/Zine/Edicoes/RB-ED016.pdf?format=raw

Rgds,

Luiz Oliveira
BrOffice Community

-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.