문제

I have a requirement that needs to validate an input field to only allow commas and alphabets (inlcuindg accented alphabets). Being a complete Regex Noob, I have no idea where to start. Can someone please shine some lights toward the right direction?

thanks.

도움이 되었습니까?

해결책

Here's a regex, but I don't know .NET: [,\w]+

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top