1、替换多个字符串
string strPattern = @"(../)|(~/)";
Regex.Replace(path, strPattern, "")
2、替换多个字符
string strPattern = @"[A|B]";
Regex.Replace(path, strPattern, "")
1、替换多个字符串
string strPattern = @"(../)|(~/)";
Regex.Replace(path, strPattern, "")
2、替换多个字符
string strPattern = @"[A|B]";
Regex.Replace(path, strPattern, "")