If you need 15 character length no special chars then:
jQuery(function ($) {
$('#KnowledgebaseTitle').mask("***************"), { placeholder: " " };
});
'a' is for aphla chars.
If you need to make a custom mask filter then use:
$.mask.definitions['h'] = "[A-Fa-f0-9]"; // your regex filter etc...
I think this regex expression will work for windows special chars:
$.mask.definitions['h'] = "^[.\\\\/:*?\"<>|]?[\\\\/:*?\"<>|]*";
jQuery(function ($) {
$('#KnowledgebaseTitle').mask("hhhhhhhhhhhhhhh"), { placeholder: " " };
});