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.
有没有人知道根据以下标准验证字符串的正则表达式:
谢谢。
使用这个正则表达式:/^[\w\-.]{1,255}$/ 说明:http ://regex101.com/r/tR0lR8
/^[\w\-.]{1,255}$/