Can either of you guys for the regexp necessary to check for a substring and return back the number of times is occurs in a variable?

I'd like to check the body of the email for multiple occurences of "http:" and then based on how many it finds, reject the email as spam.

I'm getting spam delivered to all my mailboxes now through the contact form. 99% of it includes a ton of links.
_________________________
Bruno
Twisted Melon : Fine Mac OS Software