regular expression should not contain special character
snippet in javascript

regular expression should not contain special character

user2529

//Author: Mohammad Arman Khan
//Regular Expression should not contain Special Characters
var regex = /^[A-Za-z0-9 ]+$/;