use regex replace c# code example
Example 1: c# regex replace
Regex.Replace(
"input string", @"[a-zA-Z]+", "replace string"
);
Example 2: regex replace /
// replaces all / in a String with _
str = str.replace(/\//g,'_');
Regex.Replace(
"input string", @"[a-zA-Z]+", "replace string"
);
// replaces all / in a String with _
str = str.replace(/\//g,'_');