"REGEX: Search two fields in WV's
mdc
New Altair Community Member
My text input format like this:
-------------
TITLE="xxxxxx"
...
...
ABSTRACT="yyyyyy"
...
...
---------------
To query the TITLE, I use this: TITLE="(.*)" $1
My problem now is I want to extract both the TITLE and the ABSTRACT. What is the expression for this?
thanks,
Matthew
-------------
TITLE="xxxxxx"
...
...
ABSTRACT="yyyyyy"
...
...
---------------
To query the TITLE, I use this: TITLE="(.*)" $1
My problem now is I want to extract both the TITLE and the ABSTRACT. What is the expression for this?
thanks,
Matthew
Tagged:
0
Answers
-
Hi,
not sure if I got this right but anyway. I assume that the text is stored in a single attribute. Then just perform an AttributeCopy and use the Replace operator twice with different capturing groups. Or you replace it within a replace operation and two capturing groups $1 and $2 followed by the new split operator.
Cheers,
Ingo0