findAndReplace searches a structured range, one sheet, or the whole
spreadsheet and replaces every match.
Example
Inputs
spreadsheet, non-empty find, and replacement are required. Supply either
sheet (title or numeric ID) or structured range, 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. Regex syntax is Java-compatible and replacement can use
supported capture references. account selects the Google account.
Output
Returns counts foroccurrencesChanged, rowsChanged, sheetsChanged,
valuesChanged, and formulasChanged. Zero occurrences is a successful no-op.