Can you say which type get specific folder with used of Regx ? like one [Number: D AS 22 1 22]

like one
[Number: D AS 22 1 22] . so, i need find AS folder in my computer so, which type it happen. please say me.

Thank you in advance.

Hey! Welcome to community!

Try this:

System.Text.RegularExpressions.Regex.Match("InputStringVariable","[A-Z]{2}").ToString

This will give you the AS If the AS is dynamic we can get the data

Reference:

Regards,
NaNi

hello

Thank you for your replay.

but i have question, after get regex expression which type i can found AS folder in my leptop.
like which type used this regex?

Hey!

You’re saying you need to search the folder which is in your local system. Corresponding to that Extracted value. am i correct?

The regex is the String type…

Before using the regex we need to import the Namespaces from Imports panel

FYI:

ImportsRegEx

Regards,
NaNi

Yes. you are correct i need specific number (AS) folder, used of my local system.

Hey!

Try this:

Use FolderExists activity

Inside the folder provide like this

"Desktop\"+Regexvar

Output as FolderExist

Take one if condition provide the condition like this

FolderExists=True

In then block you’ll get the true value if that Folder exists in the provided path

Else

Nothing

Try this and let me know

Regards,
NaNi

hi…
where i can put this

System.Text.RegularExpressions.Regex.Match(“InputStringVariable”,“[A-Z]{2}”).ToString

Hey!

Take one assign activity… Create one string variable as strFolder

StrFolder = System.Text.RegularExpressions.Regex.Match(“InputStringVariable”,“[A-Z]{2}”).ToString

Regards,
NaNi

Not working

Hey!

Could you please show us the screenshot ?

Regards,
NaNi

i will share you until today night now i am at my job place.

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