"FOE EACH FILE IN FOLDER" - How to use NOT logic in filter field?

Moving forward from explanation to solution alternates

One of more options is LINQ and Regex

Assign Activity:
arrFilterResult | Datatype: String Array =

(From fi In New DirectoryInfo("YourPath").GetFiles()
Where Regex.IsMAtch(fi.Name,"YOUR_REGEX_PATTERN, RegexOptions.IgnoreCase)
Select fi.FullName).toArray

taken from:

And also:
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum

1 Like