Checks if a string is alphanumeric (a-zA-Z0-9), optionally ignoring specified characters.

  • Parameters

    • value: string

      The string to validate.

    • options: IsAlphanumericOptions = {}

      Validation options, including characters to ignore.

    Returns boolean

    true if the string is alphanumeric (or contains only ignored characters), false otherwise.