Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Testing regular expression with single quotes giving error
Sanal Rajan
7y
213
1
Reply
var Reg1= /^(^[a-zA-Z0-9-.,#/()&/'';:~`@#$%^*_+= -]{2,50})*$/;
if (!Reg1.test(txtreg)) {
}
This regular cotains single quotes. How to check this regular expression?
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
demo of chart to show record moth wise with DB in jquery mvc
How to generate popup window and send the value in mvc