Hi.
I have a simple question. I would like to count how many word in a single line.
For example
<text>
I have an apple. The apple is green.
I have an apple.
</text>
Let's say that if I use a simple regex. (apple), I will receive 3 match. Since
there is only two lines, how to get the counter to count only 2. The
<enter> is the delimiter.
Thank you