Test, validate and match regular expressions
This regex matches lines containing structured Spanish contact information, specifically capturing the fields for 'name' (nombre), 'surname' (apellido), or 'address' (dirección) followed by their corresponding values. It is ideal for parsing data logs, emails, or form outputs where each piece of personal data is on a new line prefixed by a label. The multiline flag ensures it accurately matches across multiple lines in a single text block.