Replacing multiple items in a string

I always worked on Dynamo 2.0.1, unfortunately i cannot fix the code for 1.3 :confused: