SAP ABAP - Remove Special Character With Regex
REPORT yregex. DATA mystring1 TYPE string. DATA mystring2 TYPE string. mystring1 = 'mystringa)aksak*1<>!@#$%^&*()~'. mystring2 = 'mystringa)aksak*1<>!@#$%^&*()~'. REPLACE ALL OCCURRENCES OF REGEX '[^0-9a-zA-Z]+' IN mystring2 WITH space. WRITE:/ mystring1. WRITE:/ mystring2.