on ‎2024 Feb 03 9:10 PM
Exclusion mask issue in SFTP sender channel
I have a requirement, for 2 SFTP sender channels:
1) Select only files which do not contain the string TEST anywhere in the filename(Exclusion mask )
2) Select only files containing the string TEST anywhere in the filename(File name mask)
From same source directory I need to pick the files
For the 1St case I am using Exclusion mask to exclude files such as TEST1,TEST2,TEST3,TEST4 and TEST5 I have given all these in Exclusion mask by one by one
For the 2Nd case I have given TEST1 ,TEST2 under File name mask such as .*TEST1.*
FileName: .*(dot *)
.*TEST2.*
It is working well(File name mask). But Exclusion mask is not working as expected.
I tried with couple of regex expressions but none of these are working.
Filename: .*(dot*)
(?<!TEST1).*\\.*
^(?!.*TEST1).*
Please suggest me regular expression to exclude files.
Can someone please suggest what changes I need to make in Exclusion mask to avoid picking the files?
Thanks,
Vidya
Request clarification before answering.
| User | Count |
|---|---|
| 33 | |
| 18 | |
| 15 | |
| 14 | |
| 9 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.