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.
Word-based search. Strips Unicode space variants (ASCII space, NBSP, em/en/thin
spaces, ideographic space, etc.) plus tab, newline, and carriage return from both
the query and the document text, then performs a substring match. Punctuation is
preserved, so "Smith, John" matches "Smith,\nJohn" (only whitespace differs)
while "Smith John" does NOT match "Smith, John" (the comma in the document has
no counterpart in the query). Useful for matching long multi-line phrases that
cross structural boundaries (tables, columns, page wraps) where the regex-based
default cannot bridge intermediate formatting whitespace.
Defines the search type used for text search operations or when creating redaction annotations based on text search.