I have a string that is something like the example below,
assd *AA*the fox saw the outcome *EAA*saassdsd
I want to remove the whitespace between AA and EAA using regex. Using the code below I can highlight everything between AA and EAA but I only want all the spaces to be highlighted. I believe this (.*) is grouping all the characters. Can someone point me in the right direction thanks?
\*AA\*(.*)\*EAA\*