When I got the value of "A C Test" I am trying to use regular expressions to add an "&" to the name, like
It doesn't work, any ideas? But if I do a testing variable with a value assigned like:
It will work, the regular expression will validate it and it will do the substitution no problem, why is it not doing when getting the value from $name?