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.
用户名 是/否
请参阅正则表达式以检查 4 个连续数字。
首先检查您的字符串长度是否 >= 8,然后使用正则表达式查找 N 个连续数字,如果找到合适的 - 您的验证失败。像 - /[^\d]\d{8}[^\d]/