Build, test, and debug regular expressions
This regex validates identifiers or usernames that must start with a letter (a-zA-Z), followed by 2 to 23 characters consisting of letters, digits, underscores, or hyphens. The total length is between 3 and 24 characters. It is commonly used for form validation, slug generation, or enforcing naming conventions in applications.