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.
我在客户端的应用程序中使用 jquery 验证,添加自定义方法以在 gmail 上验证的任何想法。
if (/@gmail\.com$/.test(string)) { // This is a gmail id. }