javascript - How to use jQuery input mask plugin with special character regex validation? -
i want utilize inputmask plugin special character & maxlength validation text box. supports either one. there way implement this?
var pattern = /^[\w\s\/\&\'\-]*$/i; $("#example1").inputmask("99-9999999"); $("#example2").inputmask(pattern);
Comments
Post a Comment