关于如何在此表达式中包含双引号(“”)的任何建议?
InputField("tSecAnswer1", /^(?=.*[a-zA-Z\d])(\w|[\s\.\@\-\?\,\&\/\_\#\+\(\)\"'"]){3,50}$/);
这是我通过在正则表达式中包含单引号和双引号来解决此问题的方法。
InputField("tSecAnswer2", /^(?=.*[a-zA-Z\d])(\w|[\s\.\@\-\?\,\&\/\_\#\+\(\)\"'"\'"']){3,50}$/);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.