Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Number of matching regular expression in a text

CnstntrtschCnstntrtsch Member Posts: 1 Learner III
edited June 2019 in Help
Hello,

I need to find the number of matching regular expression in a text.

For the moment i'm using the Extract Information operator inside a Process Documents operator to match this regular expression (word1\W+(?:\w+\W+){1,6}?word2). This is working but i only get, as a result, the first match.

How can i get the number of total match in a document, as i'm looking for two near words (i can't count them separatly)?


Who has an idea for me?

Thank you!!!
Sign In or Register to comment.