This is a spin-off from this conversation from a couple of years back.
https://creativepro.com/for…..aracters-3
A 8045166 OUR STUFF WATERMELON/STRAWBERRY DRINK MIX SUGAR SWEETENED
K 15/12 OZ 7 44234-80271 8 15 8 $PRICE ($PRICE) $PRICE ($PRICE)
Above is the typical data I am dealing with. Our item#'s are always 7 digits followed by a tab and then a product description and then another Tab. (This data is live linked to an Excel table and brought in as Unformatted Tabbed text.)
I would like to be able to use a GREP style to look for “PRODUCT DESCRIPTION” text that is 56-65 characters and apply a character style with a slightly compressed horizontal text so that it doesn't creep into the folowing column. I would like to also add other GREP styles to look for text from 66-75 characters and appply a slightly more compressed text. And so on. (We are currently doing this manually using a character style, but everytime we update changes from the Excel file the data comes from we have to go back and reapply the style)
This is what I have:

The issues I am having is that the “.” “Any Character” wildcard is too broad and is ignoring my tab boundary. And /w [/l/u/d] aren't working.Is there another way of forcing it to look ONLY between the 2 tabs and still read Upper and Lower case letters and spaces?
There is discussion in this thread between Jongware and Eugene Tyson on how to fix that, but it isn't working for me. And to be honest my understanding of GREP is fairly basic so I am sure I am missing something.
Any help would be GREATLY appreciated. (Oh and we use ID CS4)
Thanks!!
Izzy