![]() ![]() Tck finds tock and tuck, but not tack or tick.Įxactly n occurrences of the previous character or expressionĪt least n occurrences of the previous character or expressionįrom n to m occurrences of the previous character or expression Ranges must be in ascending order.Īny single character except the characters in the range inside the brackets (in)> finds in and within, but not interesting. ![]() The following table provides guidance around the Word JavaScript API's search wildcards. Corresponds to the "Use wildcards" checkbox in the Find and Replace dialog box. Gets or sets a value indicating whether the search will be performed using special search operators. Corresponds to the "Find whole words only" checkbox in the Find and Replace dialog box. Gets or sets a value indicating whether to find operation only entire words, not text that is part of a larger word. Corresponds to the "Match suffix" checkbox in the Find and Replace dialog box. ![]() Gets or sets a value indicating whether to match words that end with the search string. Corresponds to the "Match prefix" checkbox in the Find and Replace dialog box. Gets or sets a value indicating whether to match words that begin with the search string. Corresponds to the "Match case" checkbox in the Find and Replace dialog box. Gets or sets a value indicating whether to perform a case-sensitive search. Corresponds to the "Ignore white-space characters" checkbox in the Find and Replace dialog box. Gets or sets a value indicating whether to ignore all whitespace between words. Corresponds to the "Ignore punctuation characters" checkbox in the Find and Replace dialog box. Gets or sets a value indicating whether to ignore all punctuation characters between words. The search options are a collection of boolean values defining how the search parameter should be treated. It returns a collection of ranges which match the search text. This method takes in a string (or wildcard expression) representing the text you are searching for and a SearchOptions object. A search method is exposed by every content control (this includes Body, Paragraph, Range, Table, TableRow, and the base ContentControl object). Add-ins frequently need to act based on the text of a document.
0 Comments
Leave a Reply. |