Looking for Multiple Words at Once by Using the Find/Replace in Files Option

Questions about XML that are not covered by the other forums should go here.
fruppio
Posts: 1
Joined: Mon Mar 20, 2023 2:06 pm

Looking for Multiple Words at Once by Using the Find/Replace in Files Option

Post by fruppio »

I was wondering if there is an option that would enable me to search the dita map for multiple words at once. The words do not need to be replaced automatically, I just need to find them. I have already tried typing the words in the following formats, but it failed both times:
- (word1|word2|word3|....wordn).
- 'word1', 'word2', 'word3'
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Looking for Multiple Words at Once by Using the Find/Replace in Files Option

Post by Radu »

Hi,
In the "Find/Replace in Files" dialog you should have a "Regular expression" checkbox. Once you check it you can search for "word1|word2|word3" and it should find you either of the words.

https://www.oxygenxml.com/doc/ug-editor ... expression
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply