GREP in InDesign
Take advantage of support for GREP to power up Find/ Change and automate application of character styles, writes Sam Hampton-Smith.
GREP (global/regular expression/print) is a way to describe patterns in text. For example, if you want to find a word that starts with a 'D' and ends with a 'G', you can do that with GREP.
Particularly useful for long documents such as books, catalogues or newspapers, the power of GREP can be harnessed to deal with the removal of double spaces after full stops or to apply a style to every string of text inside a set of parenthesis.
GREP works by using a series of codes, known as expressions, to match strings of text, characters or numbers. By combining these codes into expressions, we can create very loose or very precise matches, far beyond the usual 'Find and Replace' functionality. Even better, with InDesign CS4's support for GREP styles we can set up rules that will automatically style match text, even if it's added after you've formatted the document. In this tutorial we're going to set up some automatic formatting for a food and recipe magazine.
Click here to download the support files (3.87MB)
Click here to download the tutorial for free
Get the Creative Bloq Newsletter
Daily design news, reviews, how-tos and more, as picked by the editors.
Thank you for reading 5 articles this month* Join now for unlimited access
Enjoy your first month for just £1 / $1 / €1
*Read 5 free articles per month without a subscription
Join now for unlimited access
Try first month for just £1 / $1 / €1
The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.
Related articles
- How to use Cosmos: a beginner's guide to the viral social media platform made for creatives
- How to plan and paint vibrant video game poster art: Duncan Fegredo shares his pro workflow
- How to make an atmospheric lunar creation in After Effects with Red Giant VFX plugins
- How to create a realistic peppermint candy material in Blender