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

Popular posts from this blog

xml - Extract substrings with XSLT -

How can do a tuple comparison in coffeescript similar to that in python? -

math - "ELO Rating" and how does "TSR Rating" work? -