Hi,
I'm struggling with an OOo regex find/replace operation. Basically, I
want to find this:
This is a house.
and replace with with this:
(<This is a house.>)=(<This is a house.>)
In which the original is the only text on the paragraph (in other words,
it follows and precedes a paragraphbreak). At first I thought that I
would have to find:
([paragraph mark])([all text])([paragraph mark])
and replace it with:
\1\\(<\2\>\)\=\(\<\2\>\)\3
but I can figure out what is the OOo regex character for a paragraph break.
I'm afraid I could tell you what the paragraph break is ("$"), but I
think what you're trying to do will still fail because as far as I'm
aware, there are no back references in the replace field of the
find/replace operation. What I mean is you could write a find criterion
of "^(.*)$" which will match the content of each of your paragraphs, but
I don't think there's a way to recall the (*.) bit in the replace field
with \1 as you seem to want to (if you put "\1" in the replace field, it
will literally replace your paragraph with the backslash and one
characters).
Sorry about that,
Cyrille
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]