Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Regex in File collector activity

Avatar

Level 4

Hi ,

I would like to match a string from a list of files present in SFTP and pick only those files containing my string. For example

I want to pick 'File SMS Extract.csv' or 'File Voice Extract.csv' from SFTP and not 'File Email Extract.csv' from FTP.

I have tried using filters like File [SMS|Voice] Extract.csv , File (SMS|Voice)* Extract.csv. None have worked. Can you please help

1852451_pastedImage_0.png

Regards,

Priyanka

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Use 2 file collector activities, one for each filter.

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

Use 2 file collector activities, one for each filter.

Thanks,

-Jon