Portions of the instructions for the use of GCC Regular Expression in Searching Documents is taken from the help files for the Microsoft Windows® version of Sword.
You can search in a document by clicking with the right mouse button on the document name in the Main Index and selecting Search in module(s). By holding shift- or ctrl- and clicking on other module names you can select more than one. Then follow the same procedure to open the search dialog. You will be searching in all of these Documents.
BibleTime provides a well developed search facility based on GCC Regular Expression. It allows you to create almost any type of search you can imagine.
To access the search feature, click with the right mouse button in the Main Index now in
the drop down select the magnifying glass. You can also
customize BibleTime to put the search icon
in the toolbar if you would prefer.
Use the options tab to set up your search.
At the top of the options tab you will find Choose Modules , with the already selected modules directly below. If you would like to search additional modules, click on Choose Modules and you will be offered a menu of all of the modules that can be searched. Select modules with a click in the checkbox, then click the Use Selected Modules button.
The text box labled Searched Text is where the phrase to be used as the search key is entered. This phrase may be one or more words, or partial words, (separate words, or partials, with a space), a phrase, or pattern (Regular Expression). You can use the radio buttons select to perform the search using the search key in multiple word, exact search, or regular expression mode. A check box is provided to turn case sensitive search on or off.
Drag & Drop Works Here, you can drop verses and bookmarks into the text box. You can also copy and paste text into the text box.
Click on the Case Sensitive check box to toggle case sensitivity on or off. If the box is marked a search will only find verse in which the found text also matches the case of the text in the input field. If the box is unmarked the search will match if the texts match but are different in case. To locate "LORD" but not "Lord" or "lord" mark the check box. To let "LORD" and "Lord" match "lord" leave the check box unmarked.
If Multiple Words (AND) radio button is marked the search will locate all lines (or verses) that have all the words, listed in the Input Field. The position and order of the words, in the line is not a factor. If all the words, are in a line, in any order, even separated by other words, the line will be included in the list of found lines. A search for "prove cause" will find Gen. 21:25, "And Abraham reproved Abimelech be cause of a well of water..." This is because a word that is part of another word is considered found if a word containing it is found.
If Multiple Words (OR) radio button is marked the search will locate all lines (or verses) that have any of the words, listed in the Input Field. A search for "cause" will find Genesis 21:11, "And the thing was very grievous in Abraham's sight because of his son."
If the Exact radio button is marked the search will locate all lines (or verses) that contain what was entered in the input field, exactly as entered, including any spaces. The phrase found does not have to start or end at a word boundary. A search for "now how thou ought" will find 1 Timothy 3:1, "...that thou mayest know how thou oughtest to behave..."
Define the Scope of your search by clicking on the Choose Scope button. You will be presented a list of predefined scopes.
No Scope this turns off the search scope tab. The entire document is searched.
Last Result The new search will only search within the verses found in the previous search.
Gospels The new search will be performed within the range Matthew 1:1 - John 21:25
History The new search will be performed within the range Joshua 1:1 - Esther 10:3;
If No Scope is checked and a search of the KJV Bible module is done for the name, Jesus, 939 matches will result. Then if Last Result is checked and another search is done for the title, Christ, 257 matches from the first 939 matches will remain. Then if Last Result remains checked and another search is done for the title, Lord, 106 matches from the 257 will remain. All the remaining 106 matches will have the name, Jesus, and both the titles, Christ and Lord.
Setup Custom Ranges - You can enter upper and lower boundaries for the search by clicking on the Setup Custom Ranges button.
The predefined ranges show examples of the required syntax.
Click on the Add New Range enter the name for your range in the Name text entry box, and enter the range in the text entry box labled Edit the search range. Your range is now added to the list of custom ranges. If you are satisfied you can return to the Search Options tab by clicking on OK.
A number of custom ranges have been provided.
The scope of a search can be set to the Entire Module or the Current Results. If Entire Module is checked and a search of the KJV Bible module is done for the name, Jesus, 939 matches will result. Then if Current Results is checked and another search is done for the title, Christ, 257 matches from the first 939 matches will remain. Then if Current Results remains checked and another search is done for the title, Lord, 106 matches from the 257 will remain. All the remaining 106 matches will have the name, Jesus, and both the titles, Christ and Lord.
Under the search results tab you will find the all of your search hits.
Search Result - This tells you first, by module, how many instances of the search string were found. In the Module Column, clicking on a document will open the list of references (clicking with the right mouse button allows you to copy, save, or print the list of items found). Clicking on a reference (the found items list) opens that verse up in the window below. Drag the reference and drop it on a document in the main index to open the module to that verse in a new display window, or look at the verse in the bottom pane of the search results tab.
Drag & Drop Works Here in the text display area.
Select verse numbers and drag them to the main index to create bookmarks.
Select verse numbers and drop them on an unopened module in the main index to open the module and jump to the verse location (Bibles and commentaries only).
Select verse numbers and drag them to an open document and the document will jump to the verse location (Bibles and commentaries only).
Click on Search Analysis to open the search analysis display.
Search Analysis - This gives a graphic analysis of the number of instances the search string was found in each book. It can display results for all documents searched. You have the option of saving the analysis as an html formated list on your hard drive.