Can you predefined all your variables in a list and run:
for each %item% in list, replace $ in %item% and save to %item%. Idk if it will save it back to item or save it back to the original variable.
if that doesn’t work
list each variable in excel, run the replace rule on the entire column and write each variable back, but I would consider that the long way.