Regex extract name after blank line

I want to extract the name (John Doe Smith) with Regex. The name could be of two or more names, but always in a line.

How do I make a dynamic regex solution?

Vat-nr. 457674456
Department 4500 Pepsi Co
Employeeno. 6000 Avenue 5
Date 18-11-11 Newark

John Doe Smith
Test Road 2
1234 Test Town

Hi,

Can you try the following pattern using Matches activity?

"(?<=\r?\n\r?\n).*"

Regards,

2 Likes

edit: I misread your post.

Hello @LauraMM

Further to your post.

Have you got another example of when there could be two names on a second line?

Would the last two lines always be the address details?

WOW, insane THANK YOU THANK YOU!

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.