- Documentation
- Activities
- Text
- Replace text
Find and replace words or characters in text
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Input Text inputText | expression | Required | — | — |
Search For searchText | string | Required | — | — |
Replace With replaceWith | string | Optional | — | — |
Use Regular Expression useRegex | boolean | Optional | false | — |
Replace All Occurrences replaceAll | boolean | Optional | true | — |
Case Sensitive caseSensitive | boolean | Optional | true | — |
Output Variable outputVariable | variable | Optional | replacedText | — |
Output
replacedTextStringText with replaced content
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Change text case
Change text to UPPERCASE, lowercase, Title Case or Sentence case
Combine text
Combine several values into one piece of text, with nothing between them
Contains text
Check whether some words appear inside a piece of text
Convert datetime to text
Turn a date into readable text like "January 5, 2025"
Ends with
Check whether text ends with a given suffix
Extract substring
Extract a portion of text by position