Date: 11/30/07 (PHP Community) Keywords: web I'm trying to remove any of the below hyperlinks that do not contain "video/" or "print/" in the href attribute. However, I cannot figure out what else to put into the expression so it works. View Winning Marketing Material echo preg_replace('/[^<]*?<\/a>/', '', $text);
|