Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Character String and Byte String Processing →  Expressions and Functions for String Processing →  Regular Expressions 

Syntax of Regular Expressions

The syntax of regular expressions distinguishes the following cases:

Using the syntax for single characters and character strings, regular expressions can be created that match whole character strings or substrings of character strings. The syntax for find and replace offers some additional elements that support the finding and replacement of substrings in character strings.

The special characters that are valid in regular expressions are summarized in:

Other versions: 7.31 | 7.40 | 7.54

Continue

Single Character Patterns

Character String Patterns

Search Patterns

Replace String

Simplified Regular Expressions

Special Characters in Regular Expressions