[wp-hackers] wp_trim_excerpt

Joost de Valk joost at yoast.com
Wed Mar 11 07:02:22 GMT 2009


On Mar 11, 2009, at 3:53 AM, Austin Matzko wrote:

> $text = preg_replace('#<(s(cript|tyle)).*?</\1>#si', '', $text);

Heh ok I feel stupid now :) Thanks Austin!





More information about the wp-hackers mailing list