///去掉字符串中的数字
publicstaticstringRemoveNumber(stringkey)
{
returnRegex.Replace(key,@"\d","");
}
//去掉字符串中的非数字
publicstaticstringRemoveNotNumber(stringkey)
{
returnRegex.Replace(key,@"[^\d]*","");
}
时间:2019-05-01 02:04:40
///去掉字符串中的数字
publicstaticstringRemoveNumber(stringkey)
{
returnRegex.Replace(key,@"\d","");
}
//去掉字符串中的非数字
publicstaticstringRemoveNotNumber(stringkey)
{
returnRegex.Replace(key,@"[^\d]*","");
}
oracle正则表达式 提取数字 oracle 使用正则表达式获取字符串中包含的数字
2021-07-04
c语言滤去所有非数字字符 Python: 去掉字符串中的非数字(或非字母)字符
2020-02-28
高考英语作文 Our English Teacher(我们的英语老师)1200字英语作文
2024-07-20