Number of matching regular expression in a text

CnstntrtschCnstntrtsch Member Posts: 1 Contributor I
edited June 2019 in Help

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.