Download a list of swear words (they're free as in beer and free as in speech):
swearWords.xmlWe've got a list of Frequently Asked Questions and some links to other resources on swearing, including other sites offering free or commercial lists of bad words (often better than the ones we offer).
By their very nature these lists of swear words contain material many will find offensive. But that's kind of the point.
These lists are free to download. You may use them for any purpose you wish and may copy, modify and distribute them freely. The swear words lists are provided "as-is" without any warranty or guarantee whatsoever. Don't blame me when the users of your forum, blog or community find more creative ways of offending people.
One example of how we use these lists is to highlight swearwords to help human moderators spot swearing in user generated content, but you could do it just for comedy value. You could write a swearword filter, but they don't work very well in the real world.
For other examples and further discussion of the whys and wherefores we've put together a FAQ page
If you were coming here looking for the dynamic highlighting example, it's gone for now. We've moved to static hosting to save costs, so the slightly silly server side highlighting had to go. Perhaps a client side example will follow one day?