Perform one or more search-and-replace operations on a string where the 'search' value may be a regular expression, a string to parse as a regular expression, or a string to use as a literal search expression
The string to perform search-and-replace operations on
An array of search-and-replace criteria
Optional
options: string | LiteralSearchOptions = {}Options related to how to parse the string value for the literal search
A wrapped version of
searchAndReplace
that caches RegExpSee
searchAndReplace