Last date modified: 2026-Sep-09

Interface: ITextSearchUtilities

Experimental

This API is in preivew and not ready for production use. Expect breaking changes in the future. Suite of text search utilities

Methods

searchStaticText()

searchStaticText(text, searchTerm, options?): Promise<ITextSearch>

Experimental

Parameters

• text: string | TextProvider

Text to search for or a provider that returns the text to search for

• searchTerm: string | RegExp

Term to search for (Use the options to control how this term is interpreted.)

• options?: ITextSearchOptions

Optional options object to control the search

Returns

Promise<ITextSearch>

A text search object used to return search hits

Feedback