The problem is that when I try to test it it returns always false. Do you have any idea why?
$('MyInput').mouseout(function () {
alert($('MyInput').val()); // it is "яяqqåå"
alert(/^[\p{L}0-9\s\.\\\/\-]{2,20}$/.test($('MyInput').val()));
});