Using regular expressions in SAS


Figure 1. Excerpt from article

Regular expressions are a powerful way to identify and manipulate string data. SAS implements regular expressions through through the prxparse, prxmatch, prxsubstr, prxposn, prxnext, and prxparen functions.

Ron Cody. An Introduction to Perl Regular Expressions in SAS 9. SUGI 29 Proceedings, 2004-05-09. Available in pdf format