Test, validate and match regular expressions
This Go-compatible regex matches any single character that is NOT a lowercase letter (a-z), digit (0-9), or hyphen. With the global and multiline flags, it is commonly used to find or replace invalid characters in slugs, identifiers, or lowercase-hyphenated tokens.