note 5129 modified in str_replace by ronabop

From: Date: Fri, 11 Aug 2000 18:31:15 +0000
Subject: note 5129 modified in str_replace by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1393@lists.php.net to get a copy of this message
to delete everything between (font size=-1> and </font> try something like $data is the data this is kinda slow :) and not optimized 2 anything.. <pre>$first=strpos($data,"nt>"); $last=strpos($data,"<",$first+1)-$first-3; $output=htmlspecialchars(substr(($data),$first+4,$last));</pre> http://www.php.net/manual/function.str-replace.php

« previous php.notes (#1393) next »