In this example, we will create a Regular Expression to match some job names. The process involves deciding which jobs you want auto-proofed, creating a Regular Expression for them and selecting it in the RIPMonitor.
List of Job Names | |
DSCF-mike-test2.jpg | DSCF-mike-test3.jpg |
DSCF-mike-test4.jpg | DSCF22913-p.jpg |
DSCF22913-t.jpg | DSCF22913.jpg |
DSCF22919.jpg | john-DS3test2.jpg |
john-DSCFtest.jpg | john-DSCFtest2.jpg |
michael-DSCtest3.jpg | mike-DSCFtest2.jpg |
mike-DSCFtest3.jpg | mikes-DSCFtest3.jpg |
pete-DS2test.jpg | pete-DSCF223test2.jpg |
pete-DSCF223test3.jpg | petec-DS2test.jpg |
petec-DS2test2.jpg | petec-DS3test2.jpg |
petec-DSCFtest.jpg | peterc-DSCFtest.jpg |
ppp-petetest3-p.jpg | sppp-pptest3-p.jpg |
steve-DSCFtest.jpg | steve-DSCFtest2.jpg |
steve-DSCFtest3-p.jpg | steve-DSCFtest3.jpg |
stevie-DSCFtest3-p.jpg | stevie-pptest3-p.jpg |
stevie-test3-p.jpg |
From this list we will auto-proof the following:
- pete and peter jobs but not petec jobs.
- john jobs but not the job john-DS3test2.jpg.
- mike jobs where mike is in the middle of the job name only.
- steve jobs but not stevie.
Steps:
- Create a new Regular Expression and give it a name.
- Add a new expression and change the name to “mike”.
- Choose Match Items using All of the Following.
- Enter the string “mike” at the bottom, choose contains and select Add.
- Enter the string “DSCF”. Choose Begins With and select Add.
- Add another expression and name it “Remove”.
- Choose Ignore Items using Any of the Following.
- Enter the string “DSCF”. Choose Begins With and select Add.
- Add another expression and name it “pete”.
- Choose Match Items using All of the Following.
- Enter the string “pete”. Choose Contains and select Add.
- Enter the string “petec”. Choose Does not Contain and select Add.
- Add another expression and name it “steve”.
- Choose Match Items using Any of the Following.
- Enter the string “steve”. Choose Contains and select Add.
- Add another expression and name it “john”.
- Choose Match Items using All of the Following.
- Enter the string “john”. Choose Contains and select Add.
- Enter the string “john-DS3test2”. Choose Is Not and select Add.
- Save the Regular Expression.
- Choose your RIP from the Workbench. Enable Autoproof. Select a Pagesetup or Pagesetup Pool to proof to and select your Regular Expression from the Filter button.
- Save the RIP.
Most of the expressions can go in any order. For this example, you cannot have the “remove” expression before the “mike” expression. If you did, the jobs required with “mike” in the middle start with “DSCF” and would be removed from the jobs matching before the “mike” expression got to work on them and they therefore would not auto-proof.