Professional Documents
Culture Documents
Description GREP Text Punctuation Space . . . . . . . . . . . . . . . . . . . . ~. . . . . . . ^. Any Lowercase Letter . . . . . . . . . . . . . . . . . . \l . . . . . . . . . Repeat GREP Text
Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\t . . . . . . . ^t Third Space . . . . . . . . . . . . . . . . . . . . . . . . . . . ~3 . . . . . . ^3 Any Uppercase Letter . . . . . . . . . . . . . . . . . . \u . . . . . . . . . Zero or One Time . . . . . . . . . . . . . . . . . . . . . . . ? . . . . . . . . .
Forced Line Break . . . . . . . . . . . . . . . . . . . . . \n . . . . . . . ^n Sixth Space . . . . . . . . . . . . . . . . . . . . . . . . . . ~% . . . . . . ^% Zero or More Times . . . . . . . . . . . . . . . . . . . . . * . . . . . . . . .
End of Paragraph . . . . . . . . . . . . . . . . . . . . . . \r . . . . . . . ^p Locations GREP Text One or More Times . . . . . . . . . . . . . . . . . . . . + . . . . . . . . .
Quotation Marks GREP Text Beginning of Word . . . . . . . . . . . . . . . . . . . . \< . . . . . . . . Zero or One Time (Shortest Match) . . . . . . . ?? . . . . . . . . .
Symbols GREP Text Any Double Quotation Marks . . . . . . . . . . . . . . . . . . . . . End of Word . . . . . . . . . . . . . . . . . . . . . . . . . . \> . . . . . . . . Zero or More Times (Shortest Match) . . . . . *? . . . . . . . . .
Bullet Character . . . . . . . . . . . . . . . . . . . . . ~8 . . . . . . ^8 Any Single Quotation Marks . . . . . . . . . . . . . . . . . . . . . Word Boundary . . . . . . . . . . . . . . . . . . . . . . . \b . . . . . . . . . One or More Times (Shortest Match) . . . . . +? . . . . . . . .
Carat Character ^ . . . . . . . . . . . . . . . . . . . . . \^ . . . . . . ^^ Straight Double Quotation Marks . . . . . . . ~ . . . . . . ^ Beginning of Paragraph . . . . . . . . . . . . . . . . ^ . . . . . . . . .
Backslash Character \ . . . . . . . . . . . . . . . . . . \\ . . . . . . . . \ Double Left Quotation Marks . . . . . . . . . . ~{ . . . . . . ^{ End of Paragraph . . . . . . . . . . . . . . . . . . . . . . . $ . . . . . . . . .
Copyright Symbol . . . . . . . . . . . . . . . . . . . ~2 . . . . . . ^2 Double Right Quotation Marks . . . . . . . . . ~} . . . . . . ^} Beginning of Story . . . . . . . . . . . . . . . . . . . . \A . . . . . . . . . InDesign CS4: More Undocumented GREP Code
Ellipsis . . . . . . . . . . . . . . . . . . . . . . . . . . . ~e . . . . . . ^e Straight Single Quotation Mark . . . . . . . . . ~ . . . . . . . . ^ End of Story . . . . . . . . . . . . . . . . . . . . . . . . . . \z . . . . . . . . . Letter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \p{letter}
Paragraph Symbol . . . . . . . . . . . . . . . . . . . ~7 . . . . . . ^7 Single Left Quotation Mark . . . . . . . . . . . . ~[ . . . . . . ^[ Lowercase letter . . . . . . . . . . . . . . . . . . . . . \p{lowercase_letter}
Registered Trademark Symbol . . . . . . . . . ~r . . . . . . ^r Single Right Quotation Mark . . . . . . . . . . . ~] . . . . . . ^] Match GREP Text Uppercase letter . . . . . . . . . . . . . . . . . . . . . \p{uppercase_letter}
Section Symbol . . . . . . . . . . . . . . . . . . . . . ~6 . . . . . . ^6 Marking Subexpression . . . . . . . . . . . . . . . . () . . . . . . . . . Titlecase letter . . . . . . . . . . . . . . . . . . . . . . . . \p{titlecase_letter}
Trademark Symbol . . . . . . . . . . . . . . . . . . ~d . . . . . . ^d Break Character GREP Text Non-Marking Subexpression . . . . . . . . . . . . (?:) . . . . . . . . Spacing modifier letter . . . . . . . . . . . . . . . . \p{modifier_letter}
Open Parenthesis ( . . . . . . . . . . . . . . . . . . . . \( . . . . . . . . ( Standard Carriage Return . . . . . . . . . . . . . . . ~b . . . . . . ^b Character Set . . . . . . . . . . . . . . . . . . . . . . . . . [] . . . . . . . . . Non-case non-modifier letters . . . . . . . . . . . . \p{letter_other}
Closed Parenthesis ) . . . . . . . . . . . . . . . . . . . \) . . . . . . . . ) Column Break . . . . . . . . . . . . . . . . . . . . . . . ~M . . . . . . ^M Or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | . . . . . . . . . Marks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \p{mark}
Open Brace Character { . . . . . . . . . . . . . . . . . \{ . . . . . . . . { Frame Break . . . . . . . . . . . . . . . . . . . . . . . . . . ~R . . . . . . ^R Positive Lookbehind . . . . . . . . . . . . . . . . . (?<=) . . . . . . . Diacritical and tone marks . . . . . . . . . . \p{non_spacing_mark}
Closed Brace Character } . . . . . . . . . . . . . . . . \} . . . . . . . . } Page Break . . . . . . . . . . . . . . . . . . . . . . . . . . . ~P . . . . . . ^P Negative Lookbehind . . . . . . . . . . . . . . . . . (?<!) . . . . . . . Vowels SE Asian languages . . . \p{spacing_combining_mark}
Open Bracket Character [ . . . . . . . . . . . . . . . \[ . . . . . . . . [ Odd Page Break . . . . . . . . . . . . . . . . . . . . . . . ~L . . . . . . ^L Positive Lookahead . . . . . . . . . . . . . . . . . . . (?=) . . . . . . . . Circles, squares, keycaps . . . . . . . . . . . . . . . \p{enclosing_mark}
Closed Bracket Character ] . . . . . . . . . . . . . . \] . . . . . . . . ] Even Page Break . . . . . . . . . . . . . . . . . . . . . . ~E . . . . . . ^E Negative Lookahead . . . . . . . . . . . . . . . . . . . (?!) . . . . . . . . Spaces, returns, 2028, 2029 . . . . . . . . . . . . . . . . . . \p{separator}
Discretionary Line Break . . . . . . . . . . . . . . . ~k . . . . . . ^k All spaces except tab & return . . . . . . . . . .\p{space_separator}
Markers GREP Text Modifiers GREP Text Line separator character 2028 . . . . . . . . . . . \p{line_separator}
Any Page Number . . . . . . . . . . . . . . . . . . . . . ~# . . . . . . ^# Variable GREP Text Case-Insensitive On . . . . . . . . . . . . . . . . . . . . (?i) . . . . . . . . Paragraph separator 2029 . . . . . . . . . \p{paragraph_separator}
Current Page Number . . . . . . . . . . . . . . . . . . ~N . . . . . . ^N Any Variable . . . . . . . . . . . . . . . . . . . . . . . . . . ~v . . . . . . ^v Case-Insensitive Off . . . . . . . . . . . . . . . . . . (?-i) . . . . . . . . Math and Wingdings . . . . . . . . . . . . . . . . . . . . . . . . . . \p{symbol}
Next Page Number . . . . . . . . . . . . . . . . . . . . ~X . . . . . . ^X Running Header (Paragraph Style) . . . . . . . ~Y . . . . . . ^Y Multiline On . . . . . . . . . . . . . . . . . . . . . . . . . (?m) . . . . . . . Math symbols . . . . . . . . . . . . . . . . . . . . . . . . . .\p{math_symbol}
Previous Page Number . . . . . . . . . . . . . . . . . ~V . . . . . . ^V Running Header (Character Style) . . . . . . . ~Z . . . . . . ^Z Multiline Off . . . . . . . . . . . . . . . . . . . . . . . . . (?-m) . . . . . . . Currency symbols . . . . . . . . . . . . . . . . . . . \p{currency_symbol}
Section Marker . . . . . . . . . . . . . . . . . . . . . . . ~x . . . . . . ^x Custom Text . . . . . . . . . . . . . . . . . . . . . . . . . . ~u . . . . . . ^u Single-Line On . . . . . . . . . . . . . . . . . . . . . . . . (?s) . . . . . . . . Modifier symbols . . . . . . . . . . . . . . . . . . . . \p{modifier_symbol}
Anchored Object Marker . . . . . . . . . . . . . . . . ~a . . . . . . ^a Last Page Number . . . . . . . . . . . . . . . . . . . . . ~T . . . . . . ^T Single-Line Off . . . . . . . . . . . . . . . . . . . . . . . (?-s) . . . . . . . . Wingdings, dingbats . . . . . . . . . . . . . . . . . . . \p{other_symbol}
Footnote Reference Marker . . . . . . . . . . . . . ~F . . . . . . ^F Chapter Number . . . . . . . . . . . . . . . . . . . . . . ~H . . . . . . ^H Ignore Whitespace On . . . . . . . . . . . . . . . . .(?w) . . . . . . . . Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \p{number}
Index Reference Marker . . . . . . . . . . . . . . . . ~I . . . . . . ^I Creation Date . . . . . . . . . . . . . . . . . . . . . . . . . ~O . . . . . . ^O Ignore Whitespace Off . . . . . . . . . . . . . . . . (?-w) . . . . . . . Digits 0 to 9 . . . . . . . . . . . . . . . . . . . . \p{decimal_digit_number}
Modification Date . . . . . . . . . . . . . . . . . . . . . ~o . . . . . . ^o Roman numerals . . . . . . . . . . . . . . . . . . . . . . . \p{letter_number}
Hyphens and Dashes GREP Text Output Date . . . . . . . . . . . . . . . . . . . . . . . . . . ~D . . . . . . ^D Change to Other GREP Text Other numbers . . . . . . . . . . . . . . . . . . . . . . . . . \p{other_number}
Em Dash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~_ . . . . . . ^_ File Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~1 . . . . . . ^1 Clipboard Contents, Formatted . . . . . . . . . . ~c . . . . . . . . Punctuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \p{punctuation}
En Dash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~= . . . . . . ^= Clipboard Contents, Unformatted . . . . . . . . ~C . . . . . . . . Hyphens and dashes . . . . . . . . . . . . . . . . \p{dash_punctuation}
Discretionary Hyphen . . . . . . . . . . . . . . . . . . ~- . . . . . . ^- Other GREP Text Opening parentheses, braces . . . . . . . . \p{open_punctuation}
Nonbreaking Hyphen . . . . . . . . . . . . . . . . . ~~ . . . . . . ^~ Right Indent Tab . . . . . . . . . . . . . . . . . . . . . . ~y . . . . . . ^y Change to Found GREP Text Closing parentheses, brackets . . . . . . . \p{close_punctuation}
Indent To Here . . . . . . . . . . . . . . . . . . . . . . . . ~i . . . . . . ^i Found Text . . . . . . . . . . . . . . . . . . . . . . . . . . . $0 . . . . . . . . Opening quotes . . . . . . . . . . . . . . . . . . . \p{initial_punctuation}
White Space GREP Text End Nested Style Here . . . . . . . . . . . . . . . . . ~h . . . . . . ^h Found 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $1 . . . . . . . . Closing quotes . . . . . . . . . . . . . . . . . . . . . . \p{final_punctuation}
Em Space . . . . . . . . . . . . . . . . . . . . . . . . . . . ~m . . . . . . ^m Non-Joiner . . . . . . . . . . . . . . . . . . . . . . . . . . . ~j . . . . . . ^j Found 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $2 . . . . . . . . Underscore, 203F, 2040, 2054 . . . \p{connector_punctuation}
En Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~> . . . . . . ^> Found 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $3 . . . . . . . . Other punctuation . . . . . . . . . . . . . . . . . \p{other_punctuation}
Flush Space . . . . . . . . . . . . . . . . . . . . . . . . . . ~f . . . . . . ^f Wildcards GREP Text Found 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $4 . . . . . . . . Other . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \p{other}
Hair Space . . . . . . . . . . . . . . . . . . . . . . . . . . . ~| . . . . . . ^| Any Digit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \d . . . . . . . ^d Found 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $5 . . . . . . . . Control characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \p{control}
Nonbreaking Space . . . . . . . . . . . . . . . . . . . . ~S . . . . . . ^S Any Letter . . . . . . . . . . . . . . . . . . . . . . . . . . . [\l\u] . . . . . ^$ Found 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $6 . . . . . . . . Formatting character markers . . . . . . . . . . . . . . . . . . \p{format}
Nonbreaking Space (Fixed Width) . . . . . . . . ~s . . . . . . ^s Any Character . . . . . . . . . . . . . . . . . . . . . . period . . . . . ^? Found 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $7 . . . . . . . . E000F8FF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \p{private_use}
Thin Space . . . . . . . . . . . . . . . . . . . . . . . . . . ~< . . . . . . ^< Any White Space . . . . . . . . . . . . . . . . . . . . . . \s . . . . . . . ^w Found 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $8 . . . . . . . . Unassigned Unicode range . . . . . . . . . . . . . . . . . \p{unassigned}
Figure Space . . . . . . . . . . . . . . . . . . . . . . . . . . ~/ . . . . . . ^/ Any Word Character . . . . . . . . . . . . . . . . . . . \w . . . . . . . . Found 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $9 . . . . . . . .