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.
我想验证 WordPress 评论中的电子邮件。发送邮件评论。评论者一键检查您的邮件。然后自动发布消息。我不知道如何编写函数。
function CheckEmail(email) { if(email contains text before @ && text between @ and . && text after the .) { return true; } return false; }
像这样的东西?