Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

[UFD-Question] How to grab parts of an xml between two tags,multiple lines

Hi all,

is there a way in UFD to grab multiple lines between structural tags?

for example:

<HEAD>
.....
.....
.....
</HEAD>
<DETAILS>
....
....
....
</Details>

I need to get the part between <HEAD> and </HEAD> in multiple lines!

I tried to write regexp (in several flawors) and along with the built in keyword options, but nothing seems to work, eather i get all the lines or only one line...

Shouldn't UDF use .net regexp? ( as far as i know), but .net regexp .* doesn't get \r,\n but UFD does... but if i write the regexp to include \r\n etc after a <HEAD> lookforward, then it ignores it... and grabs only one line starting with the tag....

Please help.

Thank you.

Regards,

Daniel

Former Member
Not what you were looking for? View more on this topic or Ask a question