Test, validate and match regular expressions
This regular expression is designed to extract a city name from a text by matching lines that start with "City: ". It uses a named capture group called `city` to store the extracted value, which includes any characters following the colon up to the end of the line. With the global and multiline flags enabled, it is well-suited for parsing emails, logs, or forms containing structured address data.