Build, test, and debug regular expressions
Matches any uppercase consonant — an uppercase letter that is not one of the vowels A, E, O, U, or I. It uses a negated character class combining those vowels with \P{Lu} (any non-uppercase character), so only uppercase consonants survive. With the global flag, it finds every occurrence in a string, making it useful for text filtering, validation, or letter frequency analysis.