Error Unrecognized escape sequence, I need only "Mumbai\Service". can anyone help me on this?

Path: \000.00.0.000\Mumbai\Service\Scanned-Y08167B95-14.07.2022.pdf

1 Like

Hello @Manju_Reddy_Kanughula

Is scanned is common after Mumbai\Service

Hello @Manju_Reddy_Kanughula Try the attached workflow

Example.zip (2.8 KB)

1 Like

Hey!

Before Using this we have to import the namespaces from Imports panel

ImportsRegEx

In the above expression which you’re using i can see one extra “)”

Remove that this will work

Or

You can Try this:

System.Text.RegularExpressions.RegEx.Match(InputStringVariable,"[A-Za-z].*(?=.Scanned)").ToString

Reference:

Regards,
NaNi

Thank you, For your help.

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