I have a discussion board, and users can post comments on the board. But to cut down on spam, I am looking for a way to replace any URLs or Email addresses the users put in the text area with something like 'forbidden'. or even just removing them entirely.
I don't really have a clue where to start, so even something as a direction would help greatly. I was thinking of using Regex somehow, or I thought I recalled there's something in Rails already that .restricted or .constrained different things in a text area.
Thanks..