The search type when you want to use the patterns provided by us. see NutrientViewer.SearchPattern for the list of all the patterns.
The search type when you want to search using regex. Regex syntax:
RegExp.prototype.exec() method (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec), but ignoring capturing groups, that is, the function only returns full string matches.This is the default search type. This is used when you want to search for strings/text.
Defines the search type used for text search operations or when creating redaction annotations based on text search.