Build, test, and debug regular expressions
This regex captures word characters that appear after a whitespace and before a hyphen followed by any characters. The 's' flag enables DOTALL mode, allowing the dot in the lookahead to match across newlines. It's useful for extracting terms before hyphenated suffixes in text processing.