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
Adobe Photoshop CS3 How-Tos: 100 Essential Techniques
Adobe Photoshop CS3 is more than just the world's most popular image-editing tool: as part of …
book
Adobe Acrobat X for Windows and Macintosh: Visual QuickStart Guide
Adobe Acrobat X for Windows and Macintosh: Visual QuickStart Guide walks readers through tasks that are …
book
Adobe InDesign CS5 On Demand
Need answers quickly? Adobe InDesign CS5 on Demand provides those answers in a visual step-by-step format. …
book
Running Mac OS X Tiger
Running Mac OS X Tiger is the ideal resource for power users and system administrators like …