Test, validate and match regular expressions
Matches any run of at least six word characters, capturing the first three characters, an optional middle section, and the last three characters in three separate groups. Commonly used to abbreviate or truncate long words (e.g., reducing 'internationalization' to its first and last three letters), validate minimum word length, or split words into head, body, and tail segments. The 'g' flag finds all matches in the input, while 'm' enables multiline mode.