How to replace certain character combination with another in OpenOffice?

时间:2016-10-20 18:39:22

标签: replace find openoffice.org openoffice-writer

I'd like to replace wrongly formatted text in multiple documents. Instead of the proper way like this

»Citation«

words have been cited like this

«Citation»

(or some other combination like »Citation»)

Now, I know there is the Regular Expression, which I'd use like this for the opening mark:

«[A-Z]

But how does the replace string look like? It doesn't work with "»", neither with "»[A-Z]", neither with "»*"....

I guess there is a very simple solution, but I haven't found any answer in the different forums. Thanks for any advice!

1 个答案:

答案 0 :(得分:0)

搜索:

«([A-Z]+)»

替换为:

»$1«

有关文档,请查看位于https://help.libreoffice.org/Common/List_of_Regular_Expressions的字符列中的( )下的内容。