We have a folder where the PDF files arrive. Now we want to include all PDF data with an even number in a job and all PDF data with an odd number in a job.
Following idea:
The PDF data are marked as follows: ZL-10-Us_059.pdf
or ZL-10-Us_060.pdf
We would now like to include the jobs using "regular expression". We have deposited the following:
First branch (all odd numbers):
\d*[13579]$
Second branch (all even numbers):
\d*[24680]$
Unfortunately this does not work. What are we doing wrong?
Thanks for your help!
Sort PDF data by even and even numbers
-
- Newbie
- Posts: 8
- Joined: Thu Jan 30, 2020 8:46 pm
Re: Sort PDF data by even and even numbers
You don't consider the characters before the digits and the extension.
Use .*[13579].pdf$ and .*[24680].pdf$
Use .*[13579].pdf$ and .*[24680].pdf$
Laurent De Wilde, Solution Architect @ Enfocus
Re: Sort PDF data by even and even numbers
Are you testing this with [Job.NameProper]
-
- Newbie
- Posts: 8
- Joined: Thu Jan 30, 2020 8:46 pm