Optional
ignoreCharacters or patterns to ignore during validation. If a string is provided, those specific characters will be ignored.
If a RegExp is provided, matching patterns will be ignored. For example, if ignore
is "-"
then spaces and hyphens
in the input value will not be considered during validation. If a RegExp is provided, it should match the characters
to be ignored, not the alphanumeric characters themselves.
Options for alphanumeric validation.