Hello Shankha,

Give the below a try:

ab\.[\w]*

That should match any files that start with "ab." (with any word character
in the extension).

Please let me know if that works for you.

Best Regards,

Yolanda


On Wed, Jun 28, 2017 at 5:55 AM, shankhamajumdar <
shankha.majum...@lexmark.com> wrote:

> Hi,
>
> Just a small modification, I am using ListFile processor. For example in
> the
> directory I have 5 files which are
> test.txt, ab.txt, ab1.txt. If I use [ab].* in the regular expression I am
> getting both the files i.e. ab.txt and ab1.txt. But I just want to get
> ab.txt not ab1.txt. Please let me know how to resolve this.
>
> Regards,
> Shankha
>
>
>
> --
> View this message in context: http://apache-nifi-developer-
> list.39713.n7.nabble.com/File-Filter-regular-expression-
> GetFile-tp16279p16280.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>



-- 
--
yolanda.m.da...@gmail.com
@YolandaMDavis

Reply via email to