Expand my Community achievements bar.

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