Thanks ! ...
> %macro type(txt);
> %let txt=(upcase(compress(&txt," ","psc")));
> %mend type;
What if you have a bunch of regex'es you want to match? The sample I
gave only had the two alternatives, but really I have one for REMODEL,
SINGLE FAMILY, MULTI, DUPLEX, etc.