Searching for words beginning a verse
Searching for words beginning a verse
I want to be able to search for words beginning a verse. I can do this in Graphical Search Engine by selecting "Specify position in verse" and entering "1". Can this be done from the command line? It would make generating these searches faster.
Yes, but ...
"
You can do this in limited situations, using "Regular Expression Searches".
In BW online help, select "Index" and look for "Regular Expression Searches".
To find all verses in NRS that begin with "God ", with Search Vesion = NRS, key in <~^(God )> (omitting the <>) and enter.
Limitations:
1. Regular Expression Searches (RES) cannot be done on Greek or Hebrew versions.
2. RES are case sensitive so the above search would not find "god". It will also not find "God,"
3. Using RES in other languages is tricky. I only tried German, French, and Spanish. Non of them have the tilda on their keyboard, so I ended up copying the "~^" from Notepad.
4. RES bypasses most of BW's search functionality. Highlighting, statistics, etc. may be unreliable.
Given the limitations to RES, I would use the Graphical Search Engine, entering the basic search on the command line and then using F9 or the Button Bar button to invoke the GSE, and update the position parameter in the appropriate Word Box.
Shalom, Jim
"elnwood wrote: Sat Mar 28, 2026 11:38 pm I want to be able to search for words beginning a verse. I can do this in Graphical Search Engine by selecting "Specify position in verse" and entering "1". Can this be done from the command line? It would make generating these searches faster.
You can do this in limited situations, using "Regular Expression Searches".
In BW online help, select "Index" and look for "Regular Expression Searches".
To find all verses in NRS that begin with "God ", with Search Vesion = NRS, key in <~^(God )> (omitting the <>) and enter.
Limitations:
1. Regular Expression Searches (RES) cannot be done on Greek or Hebrew versions.
2. RES are case sensitive so the above search would not find "god". It will also not find "God,"
3. Using RES in other languages is tricky. I only tried German, French, and Spanish. Non of them have the tilda on their keyboard, so I ended up copying the "~^" from Notepad.
4. RES bypasses most of BW's search functionality. Highlighting, statistics, etc. may be unreliable.
Given the limitations to RES, I would use the Graphical Search Engine, entering the basic search on the command line and then using F9 or the Button Bar button to invoke the GSE, and update the position parameter in the appropriate Word Box.
Shalom, Jim
Re: Searching for words beginning a verse
Hi Jim,
Thank you for your help. I'm running this search for Hebrew, so it sounds like GSE is my only option. It's nice to know Regular Expression searches exist, though.
Blessings,
Don
Thank you for your help. I'm running this search for Hebrew, so it sounds like GSE is my only option. It's nice to know Regular Expression searches exist, though.
Blessings,
Don