I want a function or method in PHP that will detect swearwords in obscured text. Something that will check string like:
$string = "hey you swearword!" or
$string = "hey you swear#word!"
or maybe even
$string = "hey you sw3arw0rd!"
for "swearword" and will return true if it contains that bad swearword and false if it does not. I don't want people to use bad word on my site, please help!