Test, validate and match regular expressions
This regular expression matches a numerical age followed by common abbreviations or variations of "years old", such as "yo", "years old", "years o", "yearso", or "yold". It handles optional spaces between the number and the text, and utilizes case-insensitive, global, and multiline flags to thoroughly scan text. It is highly useful for extracting demographic data, filtering age-specific content, or analyzing user profiles and conversations where age is explicitly stated.