how to get only alphanumeric and whitespace in string regex
/[A-Za-zds]/g
how to get only alphanumeric and whitespace in string regex
/[A-Za-zds]/g
alphanumeric with space regex
var regex = new RegExp("^[A-Za-z0-9? ,_-]+$");
var key = String.fromCharCode(event.charCode ? event.which : event.charCode);
if (!regex.test(key)) {
event.preventDefault();
return false;
}
regex remove all non alphanumeric except spaces
/[^[:alnum:]x20/gi
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us