RegEx in UiPath - help

Input Data

E-mail Address: John.smith@world.org

Phone: 461 8733 771371

Address: 10 WIN BUSINESS PARK, CANAL QUAY

when i try (?<=^Address: ).* in regex101.com it works fine but the same does not return the Address data when used in UiPath Matches activity.

What am I missing ?

Hi,

Can you try the following pattern?

(?<=\nAddress:\s*).*

Regards,

Super …that worked in UiPath…but didnt work in regex101.com…learnt something new today…Thanks

Hi

Welcome back to UiPath forum

This expression worked both in Regex and in UiPath as well

Cheers @ajitbhatt

Hi,

It caused by Multiline option setting. So, as another solution, if you turn on Multiline option in UiPath, the first your expression will work.

Regards,

thank you

1 Like

Bingo !! after adding Multiline, the original search works fine.

1 Like

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