Adam, how do you do it manually?!
There are script steps that do the same thing.
Enter Find Mode
Set Field (group; "g")
Set field (group; "b")
Set Field (group; "m")
***NOTE, the parens above would be square brackets. I did not want the code munged.
This is called an OR search, as g, b, OR m can be found.
Is that what you wanted?
-- sent from my iPhone4 --
Yes; what you suggested worked perfectly!