Sample code: http://codemahal.com/video/ignore-or-strip-html-tags-from-strings-in-php/ Original source