Help with censoring?


I'd like to know how to censor text perk rank on a forum message or a page. I've seen it done, and haven't seen anything about it on here or while making a post or in the admin control panel. I'd like it to show something like this:

"<<Warning! This information has been censored to registered users only! Please login or sign up now!>>"

Any suggestions?