note 15972 deleted from function.ereg by jimw

From: Date: Fri, 02 Nov 2001 01:31:07 +0000
Subject: note 15972 deleted from function.ereg by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20167@lists.php.net to get a copy of this message
Just to extend an example about stripping hyperlinks in htmls from user comments above, here it goes an regexp to find anything in href="xx", javascript included. $regexp = "(< *[aA] *)([^>]*)([hH][rR][eE][fF] *= *)((\"[^\">]*\")|('[^'>]*')|[^> ]*)([^>]*>)";

« previous php.notes (#20167) next »