I need to make a somewhat complicated find and replace, using wildcards, but cannot think of an elegant solution. For i.e., I would like to find any word that starts with "A-?" and "B-?", and do two things: 1) change the font size of A and B, and 2) Make sure that "?" (which can be any letter from A to Z) is uppercase.
For i.e., A-apple, will be replaced with A-Apple (where the font size of A is different from the font size of everything else, let's say 10).
This is what I have so far for finding the words.
(<[AB])(-)(?)
Any suggestions on how to make the replacement?