is now part of CreativePro.com!

Saving GREP Queries for Reuse and Sharing

2

GREP level medium

GREP is what I call a “write-only” language: it’s easy enough to create a GREP expression, but sometimes very difficult to look at an expression and work out exactly what it does, especially if it’s been more than a few days since you created it. So whenever I find a useful bit of GREPness here at InDesignSecrets, in InDesign Magazine, or elsewhere, I save it. Here’s how.

This article is for members only. To continue reading, please sign in, or sign up for a membership today. Thanks for supporting CreativePro!

BECOME A MEMBER

CreativePro membership keeps you up-to-date with the technology, solutions, and resources to strengthen your professional development.

For just $6.50/month (billed annually), you’ll get access to valuable benefits, including:

  • 12 monthly issues of CreativePro Magazine, filled with practical, real-world tutorials written by experts
  • Downloadable resources including templates, fonts, scripts, design assets, cheat sheets, and more
  • Hundreds of members-only tutorial and tip articles
  • Top Tips for InDesign, Photoshop, and Illustrator ebook collection
  • Discounts on events and books
  • and more...

Sign up now!


Chuck Weger is Principal at Elara Concepts LLC. He has over 20 years experience as owner of a computer consulting company, specializing in helping clients automate publishing workflows.
  • David Popham says:

    Great tip about adding comments. GREP queries are so handy that it’s easy to come up with so many that the list becomes unwieldy, but it’s hard to recall what each one does unless you use it regularly. Names can only hold so much information. It would be nice to have a Description field in the Find/Change dialog, but at a minimum, it would be helpful if comments in the XML could be read and displayed in the dialog.

  • A faster way to get to your saved GREP queries — the XML files — is to right-click on the User folder in the Scripts panel (Window > Utilities > Scripts) and choose Reveal in Finder (or Reveal in Explorer in Windows).

    You’re brought directly to your user account’s Scripts folder. Go up one level in the folder hierarchy to the parent folder, en_US (or whatever language you’re running) and you’ll see all the different user folders like Glyph Sets, AutoCorrect, and of course, Find-Change Queries.

  • >