Adobe InDesign CS4 User Manual
Page 167
159
USING INDESIGN CS4
Text
* Any character that is not a word character
\W
* Any uppercase letter
\u
* Any character that is not an uppercase letter
\U
* Any lowercase letter
\l
* Any character that is not a lowercase letter
\L
^ All Found Text
$0
Found Text 1-9
$1 (specifies the number of the
grouping found, such as $3 for the
third grouping; groupings are
enclosed in parentheses)
* Kanji
^K
~K
* Beginning of Word
\<
* End of Word
\>
* Word Boundary
\b
* Opposite of Word Boundary
\B
* Beginning of Paragraph
^
* End of Paragraph [location]
$
* Zero or One Time
?
* Zero or More Times
*
* One or More Times
+
* Zero or One Time (Shortest Match)
??
* Zero or More Times (Shortest Match)
*?
* One or More Times (Shortest Match)
+?
* Marking Subexpression
( )
* Non-marking Subexpression
(?: )
* Character Set
[ ]
* Or
|
* Positive Lookbehind
(?<= )
* Negative Lookbehind
(?
* Positive Lookahead
(?= )
* Negative Lookahead
(?! )
* Case-insensitive On
(?!)
* Case-insensitive Off
(?-!)
* Multiline On
(?m)
* Multiline Off
(?-m)
* Single-line On
(?s)
Character:
Text tab metacharacter:
GREP tab metacharacter:
Updated 18 June 2009