Test, validate and match regular expressions
This regex matches text containing worksheet URL paths. It captures a prefix before 'worksheets/', an optional lowercase section identifier, and two numeric values separated by slashes. The gm flags enable global, multiline matching across a document, making it useful for extracting or validating structured worksheet URLs in bulk text.