Chapter 3: Using Regular Expressions in SAS

3.1 Introduction

3.1.1 Capture Buffer

3.2 Built-in SAS Functions

3.2.1 PRXPARSE

3.2.2 PRXMATCH

3.2.3 PRXCHANGE

3.2.4 PRXPOSN

3.2.5 PRXPAREN

3.3 Built-in SAS Call Routines

3.3.1 CALL PRXCHANGE

3.3.2 CALL PRXPOSN

3.3.3 CALL PRXSUBSTR

3.3.4 CALL PRXNEXT

3.3.5 CALL PRXDEBUG

3.3.6 CALL PRXFREE

3.4 Summary

3.1 Introduction

This chapter is focused on developing your understanding of built-in SAS functions and call routines, and on starting to do some real SAS coding. Here, you will learn the mechanics of how to implement the wonderful RegEx metacharacters introduced in Chapter 2. Each function or call routine introduced has associated examples to ensure that their use is clear. We also briefly discuss how ...

Get Introduction to Regular Expressions in SAS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.