hi to everyone,
I would need to configure a rule in filename.rules.conf that blocks the excel file if the name is composed only by numbers, for example 12345.xls.
I tried to enter
deny [0-9] \. xls $ - -
deny [0-9] \. .xlsx $ - -
but this block all excel files that contain at least one number.
What would be the correct syntax?
Thank you
filesnames that contain only numbers
filesnames that contain only numbers
Last edited by sbergami on 14 Mar 2017 08:17, edited 1 time in total.
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: filesnames that contain only numbers
Try this
Code: Select all
^[0-9]+\.xlsx$
Re: filesnames that contain only numbers
thank you for your quick relply
it works perfectly!
thank you very much
it works perfectly!
thank you very much