0 वोट
227 व्यूज़

Is there a way to find “A or B or C or D” in PT using regex? If A, B, C and D are single characters we can put them between square brackets, but what if A, B, C and D are longer strings? PT has the function “multiple words” but this only has the option to combine two words “A or B”.

One option is: first find two words, then find the other two and “Add to list”. However, this will give less hits than the total number of occurrences: it does not give an additional hit if the different words occur in the same verse.

The case in point: I want to find all occurrences of or huú or ulu or ulú (all whole words).

Find or huú: 265 hits.

Find ulu or ulú: 76 hits.

Total: 341 hits.

Find or huú, then ulu or ulú “add to list”: 330 hits. This means that when browsing through this list, one may overlook occurrences when one of ulu/ulú and one of hū/huú occur in the same verse.

Hence my question: can this search be done with RegEx?

Paulus+Kieviet

Paratext में द्वारा (517 अंक)
फिर से दिखाया गया | 227 व्यूज़

1 उत्तर

0 वोट

Sorry, I just found out that the vertical bar | is used for alternation.

(Still, not quite sure why “regex:(hū|huú|ulu|ulú)” only gives 300 results.)

Paulus+Kieviet

द्वारा (517 अंक)
फिर से दिखाया गया

Paulus+Kieviet - do you have the context set to “Whole word only”? Were you using that before? That is one thing that can affect the counts. In my test I do see that each individual word in the search is found - regardless of how many occur in a verse.

संबंधित प्रश्न

+1 मत
5 उत्तर 886 व्यूज़
I want to change lowercase to uppercase in certain situations - for instance I want to change all lowercase after a colon to ... very simple list and then adding to it as you go.
Phil_Leckrone 9.9k पूछा गया मार्च 2, 2022
Paratext में
0 वोट
5 उत्तर 641 व्यूज़
In our project's Biblical Terms list, I'm looking for an (easier) way to filter for terms which contain too many ... \r\n and filter more specifically that way? Any suggestions?
Mark P 3.2k पूछा गया जुलाई 4, 2017
0 वोट
3 उत्तर 943 व्यूज़
[There is no Help topic for RegEx Pal, so I'll start this thread for myself or anyone else to add helpful ... History panic (post #3) Key terms for search: regular expression
wdavidhj 1.4k पूछा गया जून 5, 2019
Paratext में
0 वोट
5 उत्तर 751 व्यूज़
It appears that for all projects that I have created in PT8 RegEx Pal displays text in the find and replace windows using ... What do I need to do to stop this from happening?
Kent Spielmann 1.8k पूछा गया फ़रवरी 26, 2018
Paratext में
0 वोट
8 उत्तर 1.4k व्यूज़
We have a user who has inserted a lot of \pn and some \nd inside of footnotes. We now know we need those to be ... the search to inside of a single footnote? Thank you, MSEAIT/LT
MSEAIT_LT 478 पूछा गया अगस्त 20, 2018
Paratext में
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,044 प्रश्न
6,004 उत्तर
5,671 टिप्पणियाँ
2,026 उपयोगकर्ता