I did not find any answers regarding my problem. Maybe I am just not so familiar with regex expressions.
I have the following cell in Google Sheets:
$ goes $, and $ goes $.
I would like to replace those dollar signs with different items. Let's say I imagine it somehow like that:
=REGEXREPLACE(REGEXREPLACE(REGEXREPLACE(REGEXREPLACE(A1; "\$"; "John");"\$";"left");"\$";"Bill");"\$";"right")
.. but of course, it does not work as I would like, giving the results like:
John goes John, and John goes John.
I wonder if I am able, just with some formula, to make it like this:
John goes left, and Bill goes right.
Thanks!