regular expression to check word does not contain and special character 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 ]+$/;