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

Re: GREP: Find multiple paragraphs between brackets

$
0
0

This is great I've been using this

Find: (?s)<CC>(.+?)<\/CC>

Change: $1

 

Couple of thing though more for my sanity then anything else...

 

If whetever is inbetween () is a copied then why is it that (?s) is ignored but the $1, and only replaces with the second instance of () which I would have thought would have been $2

 

 

Also This Grep falls over if there is a Table in the paragraph, is there a way to to ignore the table as I would have thought the table would be treated as text


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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