Check for Specific String Contained on Multiple Lines

I am am reading text using the “Get Full Text” activity and then seeing If (variable.contains(“text word”). I am always searching for a name which is 2 words (first name and last name).

This issue I am having is where the name is spread across 2 lines it does not recognize it. For example if I was searching for the name John Smith

Test John
Smith

How can I have this name recognized even though it is on 2 lines?

@jklein
Regex can help, Group 1 and 3

have a play on https://regex101.com/

4 Likes

Thank you!

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