Test, validate and match regular expressions
This regex matches either '225' or '25' as standalone sequences. The '?' quantifier makes the second '2' optional, allowing the pattern to match both three-digit and two-digit sequences. With global and multiline flags enabled, it finds all occurrences across multiple lines. Useful for identifying specific numeric patterns in data validation or text processing tasks.