Build, test, and debug regular expressions
Zero-width pattern that matches the start position of any word of 4+ characters that occurs exactly three times (case-insensitively). The positive lookahead requires the captured word plus two additional repetitions, while the negative lookahead rejects words appearing four or more times. Since '.' does not cross newlines without the /s flag, counting happens per line. Commonly used in quiz or word-puzzle challenges to find words repeated a specific number of times.