I am trying to write Regex to lookahead User name: and match the word behind until the end of line:
The regex is:
^(?=User name:)\s*\[A-Za-z]+
and the text is:
Action: NEW
User name: Matthew Thomas
Job title: Dealer Account Manager
Direct report: Craig Carlson
Department: Dealer Account Management
Location: Milton, QLD
Employment type: Permanent Full Time
Start date: 15/07/2013
Finish date:
__________________________________________
Decision Point 3
--------------
Read Only