ImageGear .NET v25.2 - Updated
API Reference / ViewerControl API / IPCCSearch-Regex
In This Topic
    IPCCSearch-Regex
    In This Topic

    Namespace: Regex

    IPCCSearch~Regex

    ImageGear.Web Regex Search

    Methods

    (static) getResults Search a string of text for the given terms.(text, searchTerms) → {Array.<SearchResult>}

    Parameters:
    Name Type Description
    text string The text to be searched.
    searchTerms Array.<RegExp> An array of regular expressions used to search the text. The regular expression are expected to be something like /word/gim so that the search is global, ignores case and matches across linebreaks.
    Returns:
    An array of search results.
    Type
    Array.<SearchResult>

    (static) getResultsForTerm Search a string of text for the given terms.(text, searchTerms) → {Array.<SearchResult>}

    Parameters:
    Name Type Description
    text string The text to be searched.
    searchTerms Array.<RegExp> An array of regular expressions used to search the text. The regular expression are expected to be something like /word/gim so that the search is global, ignores case and matches across linebreaks.
    Returns:
    An array of search results.
    Type
    Array.<SearchResult>

    Documentation generated by JSDoc 3.5.5 on Mon Feb 17 2025 09:01:57 GMT-0500 (Eastern Standard Time)