Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 360 Bytes

README_regex.md

File metadata and controls

10 lines (8 loc) · 360 Bytes

regex extensions

With the regex extension you can use any regular expression as a mask. Currently this does only input restriction.
There is no further masking visualization.

Example simple email regex:

$(document).ready(function(){
   $(selector).inputmask('Regex', { regex: "[a-zA-Z0-9._%-]+@[a-zA-Z0-9-]+\\.[a-zA-Z]{2,4}" });
});