159-2011: Perl Regular Expression in SAS® Macro Programming


In this paper, the Perl regular expression facility that provides a concise and flexible means for matching strings of text is extended to the macro environment using three new macro functions. Consequently, this allows direct pattern matching and replacement in macro variables, facilitating the construction of flexible and customized functions through… (More)


1 Figure or Table