I want to convert all strings that have a variable in it, example:
string = "Hi " + name + ", How are you?"
to his interpolated version, refactoring all these cases in a class.
I tried several ways with visual studio and visual studio code, but no one has this function, maybe with regex i can achieve this.

"Hi " + name + ", How are you?"into$"Hi {name}, How are you?"?