Hello @dom_1,
Just try this regular expression which is cleaner with group names.
Name:\s+(?<name>.*?)\nEmail:\s+(?<email>.*?)\nTelephone:\s+(?<telephone>.*?)\nCountry:\s+(?<country>.*?)\nI’m Enquiring About::\s+(?<enquiringAbout>.*?)\nMessage:\s+(?<message>.*)
Proof of matching: regex101: build, test, and debug regex
P.S.: Always search first, Check Make Academy. If this is helpful, mark it as a solution
and
Need expert help or have questions? Contact or comment below!