Hi.

This will give you want you want: ^Test.*txt. Or you could leave off the txt to 
allow you to get all files not just the ones ending in txt.

In case you were not aware, http://regexr.com is a great resource for 
developing regex.

Regards,
Chris

On Jun 30, 2017, 6:24 AM -0500, shankhamajumdar <shankha.majum...@lexmark.com>, 
wrote:
> Hi,
>
> I have one more requirement. I have 5 files in a directory.
>
> 1. Test1.txt
> 2. Test12.txt
> 3. Test123.txt
> 4. Test1234.txt
> 5. Test12345.txt
>
> I want to get all the files by using Test in the File Filter Regex section
> of ListFile processor. I don't want give full file name. Please let me know
> how to resolve this.
>
>
>
> --
> View this message in context: 
> http://apache-nifi-developer-list.39713.n7.nabble.com/File-Filter-regular-expression-GetFile-tp16279p16314.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to