/ Published in: SAS
You can use regular expressions within SQL. This can be quite powerful in selecting data that matches certain conditions. The following example shows a simple regular expression which selects only quarterly periods from a table containing years, quarters & months.
URL: http://jaredprins.squarespace.com/blog/2008/10/7/some-sas-code-snippets.html