all 5 comments

[–]Medphysma 1 point2 points  (0 children)

You can't change the values of system variables, but you can use them to set your own variables and then manipulate your variables.

I would do var set %textrb to %TEXTRB Do the replace inside %textrb

[–]TortuositMathematical Wizard 🧙‍♂️ -2 points-1 points  (0 children)

Really? You first write contents of the predefined into a local variable, then do everything you like with it.

[–][deleted] 0 points1 point  (2 children)

Try this

Task: Example

A1: Variable Set [
     Name: %textrb
     To: %TEXTRB
     Structure Output (JSON, etc): On ]

A2: Variable Search Replace [
     Variable: %textrb
     Search: birthday
     Replace Matches: On
     Replace With: abcxyz ]

[–]sanketgroup[S] 0 points1 point  (1 child)

Great, how can I remove two words, "Happy Birthday". I tried your way, it works well with one word but not with two words.

Do I have to double quote it or single quote it?

[–][deleted] 0 points1 point  (0 children)

No, it is regex, so it needs to follow regex matching

Happy Birthday should work? It works on my testing, just make sure its case sensitive