Multiple Match Pattern modules in a single scenario?

Your regex was close.

Here’s the correct regex:

\*Email:\* (?<email>.+)\n[\w\W]+>\n(?<name>.+)\n\n

Proof: https://regex101.com/r/HnOcvR/1

Output

Screenshot_2024-08-06_210859

Hope this helps! Let me know if there are any further questions or issues.

@samliew

3 Likes