Quantcast
Channel: Adobe Community: Message List - InDesign
Viewing all articles
Browse latest Browse all 143383

Re: Simple GREP string needed

$
0
0

The parentheses break the expression into subparts of found text. In this case (paragraph break)(numbers)(paragraph break). You only want to keep the numbers part, so you use the $ notation to tell ID which subpart to keep. $0 is ALL of the found text, $1 is the first group enclosed by parentheses, $2 the second (your numbers), and so on. By choosing $2 you save the numbers, but throw away anything that was found in the first and following subparts.


Viewing all articles
Browse latest Browse all 143383

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>