on 05-12-2011 10:13 AM
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
Hi,
Please try below reg expression
(?<=<HEAD>)(.\r\n)(?=</HEAD>)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can download an example from below link,
Password is 1234
By the way, you can find lastst format definition version in the package of B1 8.81 PL05
Edited by: Taylor Shao on May 24, 2011 4:01 AM
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.