Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个要求,需要验证一个输入字段只允许逗号和字母(包括重音字母)。作为一个完整的 Regex Noob,我不知道从哪里开始。有人可以向正确的方向照亮一些灯吗?
谢谢。
这是一个正则表达式,但我不知道.NET:[,\w]+
[,\w]+