Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ReplaceAllTextRequest

import type { ReplaceAllTextRequest } from "https://googleapis.deno.dev/v1/docs:v1.ts";

Replaces all instances of text matching a criteria with replace text.

interface ReplaceAllTextRequest {
containsText?: SubstringMatchCriteria;
replaceText?: string;
tabsCriteria?: TabsCriteria;
}

§Properties

§

Finds text in the document matching this substring.

§
replaceText?: string
[src]

The text that will replace the matched text.

§
tabsCriteria?: TabsCriteria
[src]

Optional. The criteria used to specify in which tabs the replacement occurs. When omitted, the replacement applies to all tabs. In a document containing a single tab: - If provided, must match the singular tab's ID. - If omitted, the replacement applies to the singular tab. In a document containing multiple tabs: - If provided, the replacement applies to the specified tabs. - If omitted, the replacement applies to all tabs.