Hi Bidisha,
The following Regex should also work for your requirement. After all, there are many ways a substring can be searched in REGEX.
REPLACE ALL OCCURRENCES OF REGEX '/\w*' IN ls_data-P_DATA WITH ''. OR REPLACE ALL OCCURRENCES OF REGEX '/\w{1,}' IN ls_data-P_DATA WITH ''.
Thomas Zloch Just a curiosity drove me to try this eventhough yours is a straight forward & short REGEX Search string . I always love to play with this REGEX thing
Regards,
Karthik