作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
如果出现以下情况,如何在 C# 中使用正则表达式进行测试:
最佳答案
怎么样:
Regex regex = new Regex("^[0-9a-f]{32}$");
if (regex.IsMatch(text))
...
关于C# 简单正则表达式 - 32 个字符,仅包含 0-9 和 a-f (GUID),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4305129/
我是一名优秀的程序员,十分优秀!