cancel
Showing results for 
Search instead for 
Did you mean: 

How to parse the content of Formatted-Text-Edit?

Former Member
0 Kudos

Hi Expert,

How to parse the content of Formatted-Text-Edit?

For example, a content of Formatted-Text-Edit is:

<p></p>Hello World!<br/>This is a test.<img src="/SAP/BC/WebDynpro/SAP/ZENHANCE_IA/test1.jpg" />

I want to replace the part "<img src="/SAP/BC/WebDynpro/SAP/ZENHANCE_IA/test1.jpg" />" with other statement.

How can I achieve it?

Use "CALL TRANSFORMATION"?

Can I use regular expression?

Thanks a lot.

Best Regards,

Derek

Edited by: Derek Zhao on Sep 20, 2010 10:11 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You just want to perform server side text find and replace? If so, that is exactly what regular expressions are for - but then this isn't really a web dynpro specific questions and should be in the ABAP General forum. Please clarify.

Former Member
0 Kudos

Thank you, Mr. Jung,

I will search the resource about regular expression.