Untitled

Anonymous
plain_text
05/28/2024 6:54 AM
408 B
12
Indexable
Validator.register('alphaNumericCheck', function (value, requirement) {
    var pattern = /^[A-Za-z0-9-' ]+$/;
    return pattern.test(value);
});

Validator.register('alphaNumericCheck2', function (value, requirement) {
    var pattern = /^[A-Za-z0-9]+$/;
    return pattern.test(value);
});

Editor is loading...
Leave a Comment