Build, test, and debug regular expressions
This regex matches any character that is followed by at least 4 more characters using a positive lookahead. With the global flag, it effectively selects all characters except the last 4 on each line. Commonly used for masking trailing portions of fixed-width fields or when processing positional data formats.