📌  相关文章
📜  c# 替换所有非数字字符 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:06.601000             🧑  作者: Mango

代码示例1
var input = "+33 06 06-78-75 aze";
var result = new string(input.Where(c => char.IsDigit(c)).ToArray());
//result => "3306067875"