Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 487 Bytes

alnum.md

File metadata and controls

22 lines (17 loc) · 487 Bytes

Alnum

Validates if the given input is alphanumeric.

Valid values:

validator.alnum('pt-BR').validate('kre123skção');
validator.alnum('nb-NO').validate('Ære321');
validator.alnum().validate('alganet');
validator.alnum().validate('abc123');

Invalid values:

validator.alnum('pt-BR').validate('Ære321');
validator.alnum('nb-NO').validate('kre123skção');
validator.alnum().validate('16-50');
validator.alnum().validate('@#$');
validator.alnum().validate('_');