Test, validate and match regular expressions
Matches whole words in text, including words with apostrophes such as contractions (don't, can't) and possessives (John's). The word boundaries ensure complete words are captured, while the character class allows word characters plus apostrophes. Commonly used for tokenizing text, word frequency analysis, or extracting individual words while preserving contractions.