Need to count characters and apply a grep style
Hi,
I'm new in GREP style and still haven't found the answer I am searching for in this forum.
(But as you see, my english is weak!) 😕😕
I need too apply a grep style to a text so that it can be included in text block.
ie: I need to change the style (using a different font size for example).
The problem is that my text is made of various sentences separated by soft returns.
(it comes from a database…).
It seems that Indesign's GREP considers 'soft returns' the same than 'hard return'.
It starts counting from 0 at every soft return.
So to resume :
- my text block allows about 500 chars within my 'standard' para style.
- when I get more than 500 chars, I need to apply a different char style so that all the chars appear in the block.
- I am not allowed to modify the content I am importing from the database.
Any help is welcome.



