The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"REGEX: Search two fields in WV's

mdcmdc Member Posts: 58 Maven
edited May 2019 in Help
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

Answers

  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    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,
    Ingo
Sign In or Register to comment.