How can I strip all html using a preg_replace ?

Posted by Webnet on Stack Overflow See other posts from Stack Overflow or by Webnet
Published on 2010-03-24T12:16:44Z Indexed on 2010/03/24 12:23 UTC
Read the original article Hit count: 237

Filed under:
|

strip_tags only catches tags that have a beginning and end tag. With the strings I'm working with it's causing issues and I need to removed all HTML tags.

© Stack Overflow or respective owner

Related posts about regex

Related posts about preg-replace