Build, test, and debug regular expressions
This regex extracts field values from a structured text (likely XML or similar markup) by matching each element's opening and closing tags. It uses named capture groups to pull the inner content of fields such as NUM_INS, NUM_EQUIPEMENT, APT_CIVILITE, APT_NOM, APT_TELEPHONE, APT_E_MAIL, APT_LOCALISATION, TSY_CD, QSY_CD, and COMMENTAIRE_EXTERNE. It is useful for parsing Accor hotel data records where these fields appear sequentially, enabling extraction of contact details, hotel information, and codes. The 'gm' flags allow global matching across multiple lines.