In reply to Allan Bowe.

Allan,
In the enhanced editor in "base SAS" (Display Manager), the regex is a bit unconventional and doesn't always comply with what you expect from PERL (PRXMATCH). However, in SAS Enterprise Guide, the newer program editor supports the .NET flavor of RegEx, which more closely matches what you find in most modern implementations.