Closed. This question needs
details or clarity. It is not currently accepting answers.
Answer
Solution:
Try this regex,
It is case-insensitive, captures Lastname and Firstname seperately if there's a comma between them,
And captures together if there's no comma
([^,\r\n]+)
Output:

You can also try them without using any classes, like [^,\r\n]+
Edit: After some discussions in the comments, i've came up with an another Regex, which avoids reading Name:
in the string
((?(?<=Name:)| )[^,\r\n]+)
Output:

tell me if its okay for you...
Source