Tell search to ignore elements?
Posted: Wed Mar 10, 2021 10:43 pm
Hello,
I hope you can help- I would like to know if there is a way to tell the search function in Oxygen to ignore elements?
In our project we are working in Chinese, and I would like to find the three-character string 繡毬燈 even if there is an element or line break at any point in the middle of it. With one search, I would like to find:
1)
繡
<lb n="2"/>毬燈
2)
繡毬
<lb n="2"/>燈
3)
繡毬燈
I am using 繡\s*?毬\s*?燈 so that it will search across line breaks/spaces, but I cannot work out how to tell it to ignore the element.
I hope that this is clear- any help would be much appreciated!!
Ewan
I hope you can help- I would like to know if there is a way to tell the search function in Oxygen to ignore elements?
In our project we are working in Chinese, and I would like to find the three-character string 繡毬燈 even if there is an element or line break at any point in the middle of it. With one search, I would like to find:
1)
繡
<lb n="2"/>毬燈
2)
繡毬
<lb n="2"/>燈
3)
繡毬燈
I am using 繡\s*?毬\s*?燈 so that it will search across line breaks/spaces, but I cannot work out how to tell it to ignore the element.
I hope that this is clear- any help would be much appreciated!!
Ewan