Replace
Overviewο»Ώο»Ώ
Use this action to search a string for a specified value and return a new string where the specified value(s) are replaced (ex. you have a text and you want to replace a specific word in the whole document).
Step 1. Create a process and give it a name.
Step 2. Drag the Replace action to the canvas and link it to the other actions.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/QWpMihpwwZfsFhiZsAj2J_screenshot-2022-09-21-at-164149.png?format=webp)
Step 3. Create the variables needed for the configuration of the action, and then add them to the configuration panel:
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/jstvlszMtOQ2UoyHScG59_screenshot-2022-09-21-at-165053.png?format=webp)
ο»Ώ
Source string: you need to input a string variable which contains the text to be searched and modified
Search string: you need to input a string variable with the string which you want to be searched and replaced in the source string
Replacement string: you need to input a string variable with which the matched values will be replaced
Ignore case checkbox: Check to ignore case sensitivity for the used strings
Result: the output with the new string containing replacements
ο»Ώ
For example, if you have the Source string: "This is a cat" and you want to replace the word "cat" with "dog", you should configure the action like this:
Source string: This is a cat
Search string: cat
Replacement string: dog
Result: the result should be: "This is a dog"
Step 4. Save, Validate and Run the process.
Step 6. To verify the process click Check instance.
Step 7. In the Output section, you can see the updated string:
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/pOFB_AkWSnSbQOsr-iIFu_screenshot-2022-09-21-at-165345.png?format=webp)
ο»Ώ