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.
我的项目中有一个文本框。我希望用户在这里只写来自Vimeo. 我该怎么做RegularExpressionValidator?是否可以?
Vimeo
RegularExpressionValidator
这是一个正则表达式,可以让您验证 Vimeo 视频链接:
vimeo\.com/(?:.*#|.*/videos/)?([0-9]+)
您可能希望在开头添加 http 或 https。