Test, validate and match regular expressions
Matches the phrase 'you only live once' or its shorthand 'u only live once' with case-insensitivity, using word boundaries to ensure whole-phrase matching. The non-capturing group (?:you|u) allows either the full word or single-letter abbreviation. With global and multiline flags enabled, it finds all occurrences across multiple lines of text. Commonly used for social media monitoring, chat analysis, or detecting YOLO expressions in user-generated content.