ABAP REGEX Statement usage in STRING


ABAP REGEX statement to remove special characters from a STRING

ABAP Tips and Tricks

To remove the special characters from the string, use replace all and regex statement to do so.
Let's see the process with an example.
The replace all occurrences is added having the regular expression [^\d].




Enter the value for the string with special characters




Press F8 to execute the program.
After executing the program, you will get the output without special characters.













No comments:

Post a Comment