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





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1231
Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to