New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Learn it fast with expert-taught software and skills training at lynda.com. See what you can learn

By James Fritz | Thursday, August 22, 2013

Taking advantage of GREP inside InDesign

Learn to use GREP inside Adobe InDesign

GREP (Global Regular Expression Parsing) is one of the most powerful features of Adobe InDesign, but it’s often overlooked since it hides within other capabilities like Find/Change and Paragraph Styles. Once you learn the basics of GREP, you might wonder how you ever worked without it.

If you’re not familiar with GREP and its relationship with InDesign, it’s used for both simple and complex text operations. Simply put, GREP lets you automate formatting and find/changing of text, based on patterns in the text.

Have you ever wanted to remove multiple spaces between sentences and words? You might have used a simple Find/Change that searches for two spaces and replaces it with a single space. But what happens if there are three, four, or even more spaces? You would end up having to run the Find/Change multiple times.

This is where GREP comes in handy. Using the built-in saved searches/query, you will find “Multiple space to single space.” When choosing this, you’ll see a really long, strange string of text. This text, which is a GREP command, simply means that InDesign is going to look for any type of space that repeats, and replace it with a single space.

As you outgrow the built-in Find/Change presets, you might want to customize a specific preset or even format your text in an elaborate but consistent way. For example, have you ever wanted to make bold every instance of your company name in a layout? Perhaps you just want to ensure that website URLs never break across lines. These are just two examples of what you can accomplish with GREP commands. The best way to learn GREP is to watch Michael Murphy’s course Learning GREP with InDesign. This course covers the basics and advanced techniques needed to help you work efficiently with InDesign.

Beyond this course, we have a more developer–focused Using Regular Expressions course that can show you more advanced GREP commands and techniques to apply to your InDesign creations.

Ready to learn more?

• Watch Learning GREP with InDesign • Watch InDesign: 10 Things to Know about GREP • Watch InDesign Secrets • Watch Using Regular Expressions

Adobe and InDesign are registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.

Learn it from the experts.

With online video courses at lynda.com, you can reach your goals faster. Learn software, improve your skills, and get an inside look at how the professionals work.

See what you can learn


Share this article:

Tags: , , , , ,

Get the latest news

  •   New course releases
  •   Pro tips and tricks
  •   News and updates
  
New releases submit clicked

You can change your email preferences at any time. We will never sell your email. More info

All articles

Featured articles

A lynda.com membership includes:

Unlimited access to thousands of courses in our library
Certificates of completion
New courses added every week (almost every day!)
Course history to track your progress
Downloadable practice files
Playlists and bookmarks to organize your learning
Become a member

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.