Hi All,
I'm using OpenOffice.org 2.4 Writer.
There seems to be a problem in making backreferences in replacements.
I have the following line of text:
The /quick brown fox /jumps over the /lazy dog./
having the "quick brown fox" and "lazy dog." italicized.
Now i want to replace the text in italicized into Not Italic, Normal
typeface and insert tag <i></i> on the start and end of the italicized
words resulting the following:
The <i>quick brown fox</i> jumps over the <i>lazy dog.</i>
I used Find and Replace.
1.) Search for (.*) format: Italic
2.) Replace with <i>&</i> format: Not Italic, Normal
3.) I marked the Regular Expression option
4.) Replace All.
Output:
The <i>quick brown fox x</i>jumps over the <i>lazy dog.</i>
Problem:
There is unwanted text "x" after the "quick brown fox".
It was generated after the replacement.
Any idea why this is happening? am i missing something here?
Regards,
Reinier Sta. Teresa