Test, validate and match regular expressions
Matches the literal string 'word' only when it appears as a standalone word, using word boundary anchors (\b) on both sides. This prevents matching 'word' when embedded in larger words like 'keyword', 'words', or 'password'. With global and multiline flags enabled, it finds every occurrence across all lines of input.