how would I add space before and after a specific word in a string? eg user inputs 5s5s4>5 if I want to change the string into 5 s 5 s 4 > 5 how would I do achieve using regex?
string result = Regex.Replace(yourString, @"(?<=.)(?!$)", " ");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)