Build, test, and debug regular expressions
Matches entire lines consisting of words (letters, digits, underscores) separated by either whitespace or a dash optionally surrounded by spaces (e.g., 'hello-world', 'foo - bar', 'foo bar'). With the global and multiline flags, each line is validated independently. Useful for validating hyphenated names, slugs, tags, or keyword lists that must not contain other special characters.