How to Search for "Filename*<insert any text>.extension"
Posted: Mon Oct 17, 2016 3:41 pm
I am using this Text Variable as part of a Hierarchy path :
The input into Switch is :
FILE - 38921_RANDOM TEXT.indd
... from within the FOLDER - 38921_Client_Brand_Item
Using my Text Variable I reduce the Job Path to '38921', but then wish to drop the FILE back into ANY Folder starting with 38921. However, my Text Variable is looking for a precise path (in the case, a Folder simply named '38921')
How would I go about adding a wildcard to the path i.e Any FOLDER starting with '38921' but the following characters could be anything
Any thoughts?
Code: Select all
[Job.Origin:Search="(\d{5})"]
FILE - 38921_RANDOM TEXT.indd
... from within the FOLDER - 38921_Client_Brand_Item
Using my Text Variable I reduce the Job Path to '38921', but then wish to drop the FILE back into ANY Folder starting with 38921. However, my Text Variable is looking for a precise path (in the case, a Folder simply named '38921')
How would I go about adding a wildcard to the path i.e Any FOLDER starting with '38921' but the following characters could be anything
Any thoughts?