Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Issue with regrex statement

$
0
0

Hi ABAPers,

 

Need your help in a regrex.

 

i have a line in a workarea which contains data like USERID/0XSABUYER,USERNAME/0TXTSH,SUPERVISORID/0XARDUMMY

i dont need the technical names next to the description.

 

it should look like USERID,USERNAME,SUPERVISORID

 

I wrote a regular expression

REPLACE ALL OCCURRENCES OF REGEX '/0*,' IN ls_data-P_DATA WITH ','.

 

this regrex is not working for me. some how the * is not working as expected to replace all after /0 with a ,

 

thanks for all your help in advance.

 

Regards,

Bidisha Tripathi


Viewing all articles
Browse latest Browse all 8332

Trending Articles