%tq84_reReplace
prxchange
%macro tq84_reReplace(src, pat, repl); %sysfunc(prxchange(s/&pat/&repl/, -1, &src)) %mend tq84_reReplace;
%put %tq84_reReplace(foo 42 bar 99 baz, \d+, #); /* foo # bar # baz */
Index