Skip to main content

Find and replace text

Replace text on every slide, including tables and grouped shapes, e.g. fill {{name}} placeholders; can ignore case, match whole words or change only the first or last occurrence.

Command in the PowerPoint toolkit · id ooa.powerpoint/find_replace_text · 8 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
FindStringYesText to find.
Replace withStringNoReplacement text; empty removes what is found.
SlideNumberNoOnly this 1-based slide; all slides when empty.
SessionStringNopowerpointPresentation session.
Match caseBooleanNotrueMatch upper/lower case exactly.
Whole wordBooleanNofalseOnly match the text as a whole word, not inside a longer word.
OccurrenceStringNoallWhich occurrences to change, in slide order: all, the first or the last.
ReplaceBooleanNotrueG3 (AA parity): replace what is found (empty replacement removes it); when off the step only counts the matches (the default for new steps).

Outputs​

OutputTypeWhat it is
countNumberNumber of matches found, or of replacements made.