GREP utilities

All scripts mentioned here are for CS3 and later unless stated otherwise.

Change case interactively

Using InDesign's Find/Change dialog, you can't change the case of what your GREP matches. Thus, you can't change acronyms in upper case to lower case and apply some style to them. The script, which is in effect an extension of the Find/Change dialog, makes this possible.

Show the scope of InDesign's GREP wildcards

InDesign CS4 added 37 Unicode GREP wildcards (\p{P*}, \p{Lt}, etc.), which brings the total number of wildcards to more than 50. How do you know which characters are matched by which wildcard? The "grep mapper" shows you.

A (simple) GREP editor

InDesign's Find what field must be one of the smallest and unfriendliest places to write and edit GREP expressions in. Here is an alternative, a much simpler GREP editor.

A GREP query manager

The script displays an overview of all your GREP queries and their contents. Queries can be chained and these chains can be saved. Expressions can be edited; the Find What part can be copied to GREP styles. The results of queries can be collected and displayed in a new document, optionally with page numbers.

(An older version of this script can be found here; it's simpler but localised in four languages.)

GREP style report

Print a report of all GREP styles defined in a document's paragraph styles (CS4 and later).

List GREP queries

The script prints an overview of all GREP queries on your system in an InDesign document, using syntax highlighting to make expressions more readable.


Back to script index

Questions, comments? Get in touch