JS Utils Kit
    Preparing search index...

    Variable IS_ALPHA_REGEXConst

    IS_ALPHA_REGEX: RegExp = ...

    Matches if a string contains only alphabetic characters (A–Z, a–z).

    This regex is ASCII-only and does NOT support Unicode letters. For Unicode support, consider using: IS_ALPHA_UNICODE_REGEX

    Pattern:

    • ^ → start of string
    • [a-zA-Z] → ASCII letters only
    • + → one or more characters
    • $ → end of string
    IS_ALPHA_REGEX.test("Hello"); // true
    IS_ALPHA_REGEX.test("123"); // false
    IS_ALPHA_REGEX.test("Hello123"); // false
    IS_ALPHA_REGEX.test("Hello!"); // false