移除字串中非數字字元

来源:互联网 发布:时下淘宝卖什么好 编辑:程序博客网 时间:2024/06/11 02:42



label1.Text = Regex.Replace(textBox1.Text, "[^0-9]", "");

原创粉丝点击