string without special characters regex code example
Example: regular expression should not contain special character
//Author: Mohammad Arman Khan
//Regular Expression should not contain Special Characters
var regex = /^[A-Za-z0-9 ]+$/;
//Author: Mohammad Arman Khan
//Regular Expression should not contain Special Characters
var regex = /^[A-Za-z0-9 ]+$/;