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.
我正在寻找的正则表达式是:
例子 :
测试1546 = 好的
vqa._96 = 好的
1test_ = KO
_test1546 = KO
非常感谢!;)
试试这个正则表达式:
/^[a-zA-Z]{3}[\w.-]*$/
解释:
^
$
[a-zA-Z]{3}
\w
[A-Za-z0-9_]