Any suggestions on how开发者_JAVA百科 to include double quotes ("") in this expression?
InputField("tSecAnswer1", /^(?=.*[a-zA-Z\d])(\w|[\s\.\@\-\?\,\&\/\_\#\+\(\)\"'"]){3,50}$/);
Here is how I fixed the issue with including a single and double quote in my regular expression.
InputField("tSecAnswer2", /^(?=.*[a-zA-Z\d])(\w|[\s\.\@\-\?\,\&\/\_\#\+\(\)\"'"\'"']){3,50}$/);
精彩评论