Skip to main content

Replace

Replace text, optionally using a regular expression.

Command in the String toolkit · id ooa.string/replace · 7 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesSource text.
FindStringYesText or regex to find.
Replace withStringNoReplacement text.
Find is a regular expressionBooleanNofalseTreat 'find' as a regular expression.
Ignore caseBooleanNofalseMatch without regard to upper/lower case.
StartNumberNo0Zero-based position to start replacing from; text before it is kept as is.
CountNumberNo-1Replace at most this many matches; -1 replaces all.

Outputs​

OutputTypeWhat it is
resultStringText after replacement.