Disemvoweling is a technique used on blogs and forums to censor any post or comment that contains spam or other unwanted text. It involves simply removing the vowels from the text so that it is almost, but not entirely, unreadable.
Use the following function to disemvowel a string of text.
- function disemvowel($string)
- return str_replace(array('a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'), '', $string);
As an example, the first sentence on this post:
Disemvoweling is a technique used on blogs and forums to censor any post or comment that contains spam or other unwanted text.
would appear like this:
Dsmvwlng s tchnq sd n blgs nd frms t cnsr ny pst r cmmnt tht cntns spm r thr nwntd txt.
Which doesn't make a lot of sense, but is still kind of readable. This technique kills unwanted comments without removing the text entirely.
Check out the Wikipedia page on Disemvoweling for more information on the origins or this method.
how do u disemvowel someone's comment like say facebook. It's a perfect argument ender.