Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Updated: August 2010. Author Peter Kahrel updated this Short Cut to cover InDesign CS5.

Updated: November 2009. Author Peter Kahrel updated this Short Cut to address typos and reader comments.

GREP (short for "General Regular-Expression Print") is a powerful tool that lets you use wildcards ("jokers") to search and replace text. InDesign's GREP implementation can be used for text and also for formatting codes, finding patterns in text as well as literal text.

GREP moves beyond the restrictions that hampered earlier InDesign search features, but unfortunately it does have the reputation of being difficult to master. As with many things, it can be challenging to learn, but, fortunately, a lot can be done with surprisingly simple expressions. The aim of this Short Cut is to show how to create simple but powerful regular expressions.

Subscriber Reviews

Average Rating: 3 out of 5 rating Based on 1 Rating

"Good intro" - by carinam on 15-MAY-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
You'll need some good practice to master GREP, but this will give you a good introduction and help you better understand GREP.
Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for GREP in InDesign

  • Catalog Page

Visit the errata page for GREP in InDesign

  • Errata