This would be nice, using RegEx's for such simple cases is ugly, especially if the replace string is dynamic (so can't be done with a literal).
I find myself using a combination of split and join a lot to avoid that.
I find myself using a combination of split and join a lot to avoid that.