The Search and Replace Variable action allows you to search a variable for text and replace the found text.
You can search for:
Select the variable to search using the Search variable pop-up.
Select the kind of search to run, from the using pop-up. Then enter the text to search for in the text area.
Enter what to replace the found text with in the and replace with text area. Use the arrow at the right of the text area to select variables, calculations, clipboards and other tokens to enter in the text area.
Examples:
Search for: (.+) (.+) Replace with: $2 $1
Which results in: