Test, validate and match regular expressions
This regex matches the digits '2' or '3' only when they directly follow the letter 'm'. With the global flag, it will find all such occurrences throughout a string. It's useful for identifying potential squared (m²) or cubed (m³) measurements represented in plain text format.