Is there a way in adobe illustrator to change all same letters to a specific colour, ideally based on a rule.
For example look at the image below:
I'd like to have a "rule" (something like character styles) where by applying it to any text it would change each letter colour as in the rule automatically. An ideally tool should also be case-insensitive and work with different "letter features" such as fonts for example not just colours. In the example image above when the rule is applied, all the letters "A" are turned into green, the letters "C" into yellow and so on.
I tried to look around but I don't think it is possible to do it in illustrator. This answer here is a bit vague and not what I'd like to do.
Thanks!