I suggest capturing that punctuations in a seperate tag. Then it is easily possible.
Thanks for the response, as per the client instructions, we shuold not modify the XML structure, could you please check and confirm again?
Please try the below snapshot method. I created the one character style name is "SpecialChar" magenta color properties only.
Definitely your <cite> tag texts applied the any paragraph style, so you just use the GREP options, like the below snapshot.
its works fine. please check at your end and include any special characters if you want!
Yeah, Including a GREP Style inside a Paragraph Style sounds good to me as well.
I tried with your suggestion and found below 2 feedbacks:
(1) ',' in other places also getting disturbed
(2) '[NDASH]' between the numbers not handling
Rest looks fine.
For Ndash between numbers, append the following GREP at the end your previous expression (without quotes).
For "," please specify with some examples (i.e. Specify where you want where you don't want).
Could you please try this code below: