Build, test, and debug regular expressions
Matches sequences of two or more consecutive whitespace characters, including spaces, tabs, and line breaks. Commonly used in find-and-replace operations to collapse multiple spaces between words into a single space, cleaning up messy or inconsistently formatted text. The global flag ensures all occurrences are found throughout the input, making it ideal for text normalization and sanitization tasks.