GREP in InDesign
By Iván Gómez
()
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
Learning to Write with Style Rating: 0 out of 5 stars0 ratingsGREP in InDesign: A practical guide to designers Rating: 0 out of 5 stars0 ratingsEssential Algorithms: A Practical Approach to Computer Algorithms Rating: 5 out of 5 stars5/5Queries, VLookup, XLookup & Co.: Find information and match values in Excel 365 and 2021 Rating: 0 out of 5 stars0 ratingsJust the basics of JavaScript Rating: 0 out of 5 stars0 ratingsGood Habits for Great Coding: Improving Programming Skills with Examples in Python Rating: 0 out of 5 stars0 ratingsSimplified PHP Rating: 0 out of 5 stars0 ratingsCODING INTERVIEW: 50+ Tips and Tricks to Better Performance in Your Coding Interview Rating: 0 out of 5 stars0 ratingsWord 365 Page Formatting: Easy Word 365 Essentials, #2 Rating: 0 out of 5 stars0 ratingsPython: Best Practices to Programming Code with Python Rating: 0 out of 5 stars0 ratingsJavaScript Interview Questions You'll Most Likely Be Asked: Job Interview Questions Series Rating: 0 out of 5 stars0 ratingsRuby Programming For Beginners: The Simple Guide to Learning Ruby Programming Language Fast! Rating: 2 out of 5 stars2/5Python: Best Practices to Programming Code with Python: Python Computer Programming, #2 Rating: 0 out of 5 stars0 ratingsPractice Makes Perfect: Algebra II Review and Workbook, Third Edition Rating: 0 out of 5 stars0 ratingsPHP Programming For Beginners: The Simple Guide to Learning PHP Fast! Rating: 0 out of 5 stars0 ratingsText Processing for Students: using Word 365 Rating: 0 out of 5 stars0 ratingsMake Your Own Book Cover and Some Book Making Tips Rating: 0 out of 5 stars0 ratingsCOBOL Rating: 0 out of 5 stars0 ratingseBook Design: A Style Sampler Rating: 0 out of 5 stars0 ratingsJSL Companion: Applications of the JMP Scripting Language, Second Edition Rating: 0 out of 5 stars0 ratingsR For Dummies Rating: 4 out of 5 stars4/5From Simple IO to Monad Transformers Rating: 2 out of 5 stars2/5Learn Programming Using C# Rating: 0 out of 5 stars0 ratingsBeginning R: The Statistical Programming Language Rating: 5 out of 5 stars5/5Mastering Excel Macros: Introduction: Mastering Excel Macros, #1 Rating: 4 out of 5 stars4/5Microsoft Excel Formulas: Master Microsoft Excel 2016 Formulas in 30 days Rating: 4 out of 5 stars4/5Introduction to PHP, Part 2, Second Edition Rating: 0 out of 5 stars0 ratingsProgramming Problems: Advanced Algorithms Rating: 4 out of 5 stars4/5Ian Talks Regex A-Z Rating: 0 out of 5 stars0 ratings
Software Development & Engineering For You
Coding All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsPython For Dummies Rating: 4 out of 5 stars4/5Tiny Python Projects: Learn coding and testing with puzzles and games Rating: 5 out of 5 stars5/5Level Up! The Guide to Great Video Game Design Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5Learning Java by Building Android Games Rating: 0 out of 5 stars0 ratingsModern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards Rating: 0 out of 5 stars0 ratingsLearn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Git Essentials 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/527 PROGRAM MANAGEMENT INTERVIEW TECHNIQUES - To Ace That Dream Job Offer ! Rating: 5 out of 5 stars5/5Engineering Management for the Rest of Us Rating: 5 out of 5 stars5/5Ry's Git Tutorial Rating: 0 out of 5 stars0 ratingsGood Code, Bad Code: Think like a software engineer Rating: 5 out of 5 stars5/5C# in Depth Rating: 5 out of 5 stars5/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Kanban in Action Rating: 0 out of 5 stars0 ratingsAdobe Illustrator CC For Dummies Rating: 5 out of 5 stars5/5How Do I Do That in Photoshop?: The Quickest Ways to Do the Things You Want to Do, Right Now! Rating: 4 out of 5 stars4/5Lua Game Development Cookbook Rating: 0 out of 5 stars0 ratingsSalesforce Certification: Earn Salesforce certifications and increase online sales real and unique practice tests included Kindle Rating: 0 out of 5 stars0 ratingsOneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5Reversing: Secrets of Reverse Engineering Rating: 4 out of 5 stars4/5How Do I Do That In InDesign? Rating: 5 out of 5 stars5/5Data Visualization: a successful design process Rating: 4 out of 5 stars4/5Beginning Programming For Dummies Rating: 4 out of 5 stars4/5
Reviews for GREP in InDesign
0 ratings0 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