Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92756

Re: Need GREP To Identify Multiple Patterns

$
0
0

Thank you so much for your help with this. I have another what seems to be an easy string to match that either partially works or fails altogether.

 

I have a phrase that follows the first expression - the phrase is "with your 25% savings pass!". There are variations of the phrase, but it always begins with the word "with", includes a % sign, and ends with a paragraph return. I read Peter Kahrel's "Automating InDesign with Regular Expressions"  and came up with this expression: with [A-Za-z0-9%]\r   That doesn't work at all. If i remove the end of paragraph, \r, then the expression partially works, identifying "with and the "y" in "your" but nothing else.  Am I messing a repeat 1 or more times character?


Viewing all articles
Browse latest Browse all 92756

Trending Articles



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