Remove spaces before commas in string

Hi @macaskillh

You can try with Regex Expression

System.Text.RegularExpressions.Regex.Replace("25 RIDGEWOOD RD ,SPRINGFIELD ,VT,051560000,015(SVC)","\s(?=,)","").ToString

image

Regards
Gokul