googleSheets.findAndReplaceText searches a structured range, one sheet, or the whole spreadsheet and replaces every match.
Example
Inputs
Providespreadsheet, non-empty find, and replacement. Supply either sheet as a title or numeric ID, or a structured range, but not both. Omit both for all sheets. A range uses sheet and optional one-based inclusive row/column bounds. includeFormulas, matchCase, matchEntireCell, and searchByRegex all default false. Regular expression syntax is Java-compatible and replacement can use supported capture references. Second argument { account } selects the Google Account.
Output
Returns counts foroccurrencesChanged, rowsChanged, sheetsChanged, valuesChanged, and formulasChanged. Zero occurrences is a successful no-op.