About this ebook
Besides Scripts, GREP is one of the more powerful tools to automate InDesign. Written by a graphic designer, this book shows how to use regular expressions to get InDesign to the next level, allowing apply paragraph and character styles formating with single code.
Iván Gómez
Soy un diseñador gráfico, apasionado por el diseño y la enseñanza. Actualmente vivo en Colombia. Soy Instructor Certificado por Adobe (ACI) en Photoshop CC, Illustrator CC e InDesign CC. Dicto cursos y talleres sobre corrección de color, automatización en InDesign, técnicas de ilustración en Illustrator y creación de libros electrónicos. Trabajo en diseño parte de mi tiempo y dedico gran parte del año a enseñar que es lo que me apasiona.
Related to GREP in InDesign
Related ebooks
GREP in InDesign: A practical guide to designers Rating: 0 out of 5 stars0 ratingsIntermediate CSS: Zombie in a Cocktail Dress: Undead Institute, #7 Rating: 0 out of 5 stars0 ratingsReadability (2/2): Birth of the Cluster text, Introduction to the Art of Learning. Rating: 0 out of 5 stars0 ratingsBook Publishing With InDesign CC: Using Desktop Publishing Power To Self-Publish Your Book Rating: 0 out of 5 stars0 ratingsWord 2016 For Dummies Rating: 0 out of 5 stars0 ratingsWord 2010 Bible Rating: 0 out of 5 stars0 ratingsInDesign CS4 Bible Rating: 0 out of 5 stars0 ratingsAdobe InDesign CS6 Digital Classroom Rating: 0 out of 5 stars0 ratingsTouchpad Plus Ver. 3.1 Class 4: Linux & LibreOffice Rating: 0 out of 5 stars0 ratingsIan Talks Regex A-Z Rating: 0 out of 5 stars0 ratingsOffice 2010 For Dummies Rating: 5 out of 5 stars5/5Touchpad Prime Ver. 1.2 Class 7 Rating: 0 out of 5 stars0 ratingsTouchpad Modular Ver. 1.1 Class 4 Rating: 0 out of 5 stars0 ratingsObject-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications, and libraries Rating: 3 out of 5 stars3/5A Youngsters Guide Rating: 0 out of 5 stars0 ratings(Part 2) You Must Learn VBScript for QTP/UFT: Don't Ignore The Language For Functional Automation Testing Rating: 0 out of 5 stars0 ratingsExcel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsThe Secret Life of Word: A Professional Writer's Guide to Microsoft Word Automation Rating: 0 out of 5 stars0 ratingsAdobe Indesign: Design Basics Rating: 0 out of 5 stars0 ratingsTouchpad Modular Ver. 1.1 Class 6: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsIC3: Internet and Computing Core Certification Key Applications Global Standard 4 Study Guide Rating: 0 out of 5 stars0 ratingsJavaScript Regular Expressions Rating: 3 out of 5 stars3/5Microsoft Word for Beginners and Intermediates Rating: 0 out of 5 stars0 ratingsMicrosoft 365 Word For Professionals For Dummies Rating: 0 out of 5 stars0 ratingsTouchpad Prime Ver. 1.2 Class 6: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsUse LibreOffice Text Writer Rating: 0 out of 5 stars0 ratings10 Techniques the Pros Know About Microsoft Excel Rating: 0 out of 5 stars0 ratingsInDesign CS5 Bible Rating: 0 out of 5 stars0 ratingsExcel Essentials Rating: 0 out of 5 stars0 ratingsTextMate How-To Rating: 0 out of 5 stars0 ratings
Software Development & Engineering For You
Android App Development For Dummies Rating: 0 out of 5 stars0 ratingsThe Hard Thing About Hard Things: Building a Business When There Are No Easy Answers Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Python For Dummies Rating: 4 out of 5 stars4/5Hand Lettering on the iPad with Procreate: Ideas and Lessons for Modern and Vintage Lettering Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsLevel Up! The Guide to Great Video Game Design Rating: 4 out of 5 stars4/5Essential Algorithms: A Practical Approach to Computer Algorithms Using Python and C# Rating: 5 out of 5 stars5/5Ry's Git Tutorial Rating: 0 out of 5 stars0 ratingsThinking Beyond Coding Rating: 5 out of 5 stars5/5Beginning Programming For Dummies Rating: 4 out of 5 stars4/5System Design Interview: 300 Questions And Answers: Prepare And Pass Rating: 0 out of 5 stars0 ratingsSQL For Dummies Rating: 0 out of 5 stars0 ratingsAdobe Illustrator CC For Dummies Rating: 5 out of 5 stars5/5Tiny Python Projects: Learn coding and testing with puzzles and games Rating: 4 out of 5 stars4/5OneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Python Playground, 2nd Edition: Geeky Projects for the Curious Programmer Rating: 0 out of 5 stars0 ratingsThe Photographer's Guide to Luminar 4 Rating: 5 out of 5 stars5/5How to Build and Design a Website using WordPress : A Step-by-Step Guide with Screenshots Rating: 0 out of 5 stars0 ratingsPython Handbook For Beginners. A Hands-On Crash Course For Kids, Newbies and Everybody Else Rating: 0 out of 5 stars0 ratingsHow to Write Effective Emails at Work Rating: 4 out of 5 stars4/5Photoshop For Beginners: Learn Adobe Photoshop cs5 Basics With Tutorials Rating: 0 out of 5 stars0 ratingsTeach Yourself VISUALLY iPhone 16 Rating: 0 out of 5 stars0 ratingsWordpress 2023 A Beginners Guide : Design Your Own Website With WordPress 2023 Rating: 0 out of 5 stars0 ratingsGray Hat Hacking the Ethical Hacker's Rating: 5 out of 5 stars5/5
Reviews for GREP in InDesign
1 rating0 reviews
Book preview
GREP in InDesign - Iván Gómez
GREP In InDesign: a practical guide to designers
By Iván Gómez Sánchez
eBook version design:
Iván Gómez S.
Reviewed by
Luís Felipe Corullón
English translation
Catalina Gómez Valencia
Ramiro Arango
2013-2022 Iván Gómez S.
© All Rights Reserved
ISBN 978-958-46-3121-3
To mom, my guide. Wherever you are...
Contents
Introduction
Organization of the manual
Conventions used in this manual
Part One
GREP searches
Definition
Text patterns
Advantages of using GREP searches
Use of GREP commands
Some uses of regular expressions:
Case sensitive
Metacharacters
Wildcards
Negative searches
Repetitions
Zero or One time?
Zero o More times *
One or more times +
Repetition - Exact number of times {n}
Backwards references
Alternatives
Locations
Begining of paragraph ^
End of paragraph $
Begining of word\<
End of word \>
Word boundary \b
Beginning of story \A
End of story \Z
Match
Character set []
GLOBAL SEARCHES
Positive Lookahead (?=)
Negative Lookahead (?!)
Positive Lookbehind (?<=)
Negative Lookbehind (?
Part Two
GREP searches in InDesign
Find and change in InDesign
Applying styles
GREP within Paragraph Styles
Part Three
GREP formulas
GREP Commands in InDesign
GREP codes in InDesign
White spaces
Hyphens
Line breaks
Text anchors
Resources
About the author
Introduction
I find that the most time-consuming tasks in InDesign are applying styles and proofreading. The latter, even though it is not the designer's responsibility, is, in practice, a mandatory task that, besides not involving design, is often not even included in the job costs.
Searches with Global Regular Expression Parser (GREP) allow you to apply paragraph and character styles, and also find text -such as e-mails or telephone numbers- without having to do it manually
.
This manual shows how to use Regular Expression on InDesign, automating repetitive tasks such as applying styles and making text changes.
You don't need programming skills or spend long hours writing search-and-replace commands using regular expressions. Due to the widespread use of GREP searches in recent years, it is very easy to find free downloadable libraries on the web. You only need to know the basics of GREP searches to reuse these libraries, or to create search expressions from them to speed up the editing of documents in InDesign.
Organization of the manual
This manual is divided into three parts; the first one, GREP Searches, explains the basics of GREP searches by citing practical examples; the second part, GREP Search and Replacement in InDesign, describes the use of GREP commands specifically within InDesign; the third part, GREP Recipes, contains 40 'formulas' – and their explanation – with some of the most commonly used GREP commands in a typical editorial workflow.
Conventions used in this manual
Italic text
Represents a command within InDesign (ex: File>Open)
Monospaced text
Indicates the text to be typed in the search.and-replace boxes.
This is an example
Texts in a gray box refer to sample text to which the search command is applied.
B:
Text or code to be entered in the Find what: field
C:
Text or code to be entered in the Change to: field
Formula 1
Exercise, Formula title.
Definition
First of all, it is important to understand that GREP is not a programming language; GREP is a tool to perform search and replacement of text in any publication. The fundamental difference with traditional text searches – as the ones we do in applications such as Word