Test, validate and match regular expressions
This regular expression matches dates written out in full, specifically in Portuguese. It captures the day (1-31), an optional "de" preposition, a capitalized month name containing up to 9 letters (including the Portuguese 'ç'), another optional "de", and a 4-digit year starting with 1 or 2. It is useful for parsing natural language dates like "5 de Março de 2023" from documents or text. The 'g' and 'm' flags ensure it finds all matches across multiple lines.