I am trying to use regex (PCRE2) to scrape data from mail, I am having issue trying to match specific occurrence.
Example:
Person Requesting
Salutation Mr.
First Name* Paul
Last Name* John
Person Handling Request
Salutation Ms.
First Name* Alice
Last Name* Parish
I am using the following regex to get the first name: (?<=First Name\*).+. So, I get Paul, what I want to do is having different regex to get the second matches only.
I tried using lookaround function :
(?=Person Handling Request)+(?<=First Name\*).+
My question is, how would I go to get only the First Name from Person Handling Request?