Test, validate and match regular expressions
This regular expression matches sequences of two or more whitespace characters (spaces, tabs, etc.) and the trademark indicators (R) and (TM). It is useful for normalizing text by collapsing excessive whitespace and removing common trademark symbols, often in data cleaning or preprocessing of user-generated content and product listings.