Test, validate and match regular expressions
This regex matches any sequence of exactly four ASCII letters (A-Z or a-z) that are not adjacent to another letter, effectively isolating standalone 4-letter words. It uses a negative lookbehind to ensure no letter precedes the match and a negative lookahead to ensure no letter follows it. This is useful for extracting or highlighting four-letter words in text without matching longer words or substrings.