Transfer files starting with df, but not all .pdf files.

Post variable and regex related tips, questions.

Transfer files starting with df, but not all .pdf files.

Postby Tech Support » Sun Nov 22, 2015 8:53 am

User support Request:
I need to transfer files starting with df, but not all .pdf files.

All files are .pdf files and when the below task is run, it picks up the ‘df’ part if .pdf, thus taking all files.
I assume when I put DF*^df* in the filename of the task, I am looking for files that only start with DF or df – am I wrong on this one?
Tech Support
Site Admin
 
Posts: 1279
Joined: Thu May 25, 2006 11:12 am

Re: Transfer files starting with df, but not all .pdf files.

Postby Tech Support » Sun Nov 22, 2015 8:54 am

Use Regex format. In your filename field, use:
REGEXF=^(DF|df)

^ matches start of filename
( ) is the grouping of DF or df
| is the OR operator
Tech Support
Site Admin
 
Posts: 1279
Joined: Thu May 25, 2006 11:12 am


Return to Variables and Regular Expressions

Who is online

Users browsing this forum: No registered users and 1 guest

cron