[
  {
    "name" : "Using Wildcard Symbols in a Search",
    "sortName" : "051",
    "difficulty" : "intermediate",
    "requirements" : ["ESVS"],
    "accVersion" : 0,
    "tags" : [
    "Searching",
    "Symbols"
    ],
    "summary" : "This tutorial will show you how to use the asterisk (*) and question mark (?) wildcard symbols to find words which match a certain pattern. You will also learn how to exclude items using the minus sign (-), as well as how to limit a wildcard to certain characters.",
    "actions" : [
      {
        "text" : "First, open the ESV with Strong’s.",
        "action" : "open",
        "object" : "ESVS"
      },
      {
        "text" : "To perform a Word search, select Words from the Words/Verses pop-up menu.",
        "action" : "control",
        "object" : "wordsVersePopup|Words"
      },
      {
        "text" : "Enter ‘just*’ (without the quotes) in the Search Entry box.",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "just*"
      },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform your search.",
        "action" : "search"
      },
      {
        "text" : "Now choose Analysis from the Analytics pop-up menu.",
        "action" : "control",
        "object" : "analyticsBtn|Analysis"
      },
      {
        "text" : "The Analysis tab lists each word found by our search, along with its associated key numbers.",
        "action" : "point",
        "object" : "longText"
      },
      {
        "text" : "Let’s just focus on the English words for now. To hide the key numbers, deselect Show Key Numbers from the Action menu.",
        "action" : "control",
        "object" : "actionBtn|Show Key Numbers"
      },
      {
        "text" : "Note how the asterisk (*) functions as a wildcard representing any number of characters. Thus, ‘just*’ finds every word beginning with ‘just’, including words as long as ‘justification.’\r\rNote how this search also found the name ‘Justus’.",
        "action" : "point",
        "object" : "longText"
      },
      {
        "text" : "To exclude ‘Justus’ from this search, make sure the cursor is immediately after the previous search for ‘just*’, then enter a minus sign (-), followed by ‘Justus’.\r\rYour search should look like this: ‘just*-Justus’.",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "just*-Justus"
      },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform your search.",
        "action" : "search"
      },
      {
        "text" : "Look again at the Analysis to see that ‘Justus’ has been excluded.\r\rWe can even use the asterisk wildcard after a minus to exclude whole groups of words.",
        "action" : "point",
        "object" : "longText"
      },
      {
        "text" : "Make sure the cursor is immediately after the previous search for ‘just*-Justus’, then enter a minus sign (-), followed by ‘justif*’.\r\rYour search should look like this: ‘just*-Justus-justif*’.",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "just*-Justus-justif*"
      },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform your search.",
        "action" : "search"
      },
      {
        "text" : "Look again at the Analysis to see that all the words beginning with ‘justif’ have now been excluded.",
        "action" : "point",
        "object" : "longText"
      },
      {
        "text" : "The question mark (?) is similar to the asterisk in that it can represent any character, but where the asterisk represents any number of characters, the question mark only represents a single character.",
        "action" : "none"
      },
      {
        "text" : "Press the tab key to select the previous search entry, then enter five question marks (?????) in the Search Entry box.",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "?????"
      },
      {
        "text" : "Select RANGE from the Enter Command submenu of the Search menu.",
        "action" : "menu",
        "object" : "Search|Enter Command|RANGE"
      },
      {
        "text" : "Replace the selected question mark by typing ‘Num’.",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "????? [RANGE Num]"
      },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform your search.",
        "action" : "search"
      },
      {
        "text" : "Because each question mark represents a single character, this search found all five-letter words and five-digit numerals in the book of Numbers.",
        "action" : "point",
        "object" : "longText"
      },
      {
        "text" : "You can specify that a question mark can only represent a certain set of characters by placing them in parentheses after the question mark.",
        "action" : "none"
      },
      {
        "text" : "Place the cursor after the first question mark, then type ‘(1-9)’.\r\rYour search should now look like this: ?(1-9)???? [RANGE Num]",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "?(1-9)???? [RANGE Num]"
      },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform your search.",
        "action" : "search"
      },
      {
        "text" : "By specifying that the first character had to be a number, we narrowed the search to all five-digit numerals in the book of Numbers.\r\rThere is even a way to specify that two characters must be the same.",
        "action" : "point",
        "object" : "longText"
      },
      {
        "text" : "Delete the ‘(1-9)’ after the first question mark. Then enter ‘(=1)’ after the fifth question mark.\r\rYour search should now look like this: ?????(=1) [RANGE Num]",
        "action" : "type",
        "object" : "entryBox",
        "textToType" : "?????(=1) [RANGE Num]"
      },
      {
        "text" : "Press the {macos Return}{windows Enter} key to perform your search.",
        "action" : "search"
      },
      {
        "text" : "By specifying that the fifth question mark must match the first, this search found all five-letter words which begin and end with the same letter.",
        "action" : "point",
        "object" : "longText"
      }
    ],
    "completion" : "Congratulations! You have learned how to use wildcard symbols to find words which match specific patterns."
  }
]