开发者

RegEx for Username validation

开发者 https://www.devze.com 2023-02-04 19:14 出处:网络
im a very beginner in RegEx. I search a RegEx that validates if a string (username) is at least 3 chars, has no nu开发者_运维知识库mber or special char (ü, ö, ä) in firstspace, and no other specia

im a very beginner in RegEx.

I search a RegEx that validates if a string (username) is at least 3 chars, has no nu开发者_运维知识库mber or special char (ü, ö, ä) in firstspace, and no other special char else then üöä in total string.

Any help please?


^[a-zA-Z][a-zA-Z0-9üöä]{2,}$

0

精彩评论

暂无评论...
验证码 换一张
取 消