note 49462 deleted from function.preg-replace by didou

From: Date: Mon, 17 Apr 2006 13:47:46 +0000
Subject: note 49462 deleted from function.preg-replace by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-108340@lists.php.net to get a copy of this message
Note Submitter: Text505 At positivesale_nospam_ dot com ---- When converting HTML to text, like in the php Manual example, you will want to strip out style tags and contents between these tags, in addition to javascript. "'<style[^>]*?>.*?</style>'si", //Strip out style tags Replace with: ""

« previous php.notes (#108340) next »