In Writer, I'd like to Search & Replace all occurrences of data enclosed in parentheses. I'm able to do so in MS Word by using "\(*\)" as a regular expression, without the double-quotes of course. I have read the regular
expression section in the OO help, but nothing I try is successful.  I
thought that "\([:print:]\)" would work, but it doesn't.

Can any help me get the regex right?

Problem is the regexp search work pretty much like Word, but the regexp replace does not allow references to parts of the searched string. Like \1 or \2 for ex to point to groups in the search.

In OOo you can only refer to the _whole_ searched string.

This has been a feature request for a long while it seems.

There is a macro set somewhere that allows different things:
IannzFindReplace.sxw

You need to check it on the web because I don't remember the link. Also, I never used it but there was a thread on "OOo for translators" that mentioned it.

Jean-Christophe Helary

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to