Book description
GREP (short for "General Regular-Expression Print") is a powerful tool that lets you use wildcards ("jokers") to search and replace text. InDesign CS3'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.
Table of contents
-
GREP in InDesign CS3
- Power Searching with Regular Expressions
- GREP by Example
- The Basics
-
Wildcards
- Any Character
- Any Uppercase Letter
- Any Lowercase Letter
- Any Letter
- Any Digit
- Any Word Character
- Accented Characters
- Accented Variants: Character Equivalents
- Any Quotation Mark
- Any Whitespace
- Any Punctuation
- Homemade Wildcards: Character Classes
- Negative Character Classes
- Alternatives: Sort of a Wildcard
- Locations
- Repeat: Sequences of Characters
- Referring to Wildcards: Back-Referencing
- Finding Formatted Text
- Replacing with Wildcards
- Splitting Up Complex Expressions
- Applying Styles with GREP
- Apply Formatting to Part of What You Find: Look Around
- Look Behind You
- Look Around
- Advanced Techniques
- Chaining Expressions
- Leftovers
- Troubleshooting
- Resources
- Quick Reference
- Acknowledgments
- About the Author
Product information
- Title: GREP in InDesign CS3
- Author(s):
- Release date: October 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596517069
You might also like
book
Working Capital Management
Stay liquid, think global, and better manage resources with this authoritative guide Working Capital Management is …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Business Writing For Dummies, 3rd Edition
Learn how to write for the results you want every time, in every medium! Do you …
book
Business Development For Dummies
Growing a small business requires more than just sales Business Development For Dummies helps maximise the …