Help?

From: Date: Thu, 23 Mar 2006 19:50:58 +0000
Subject: Help?
Groups: php.general 
Request: Send a blank email to php-general+get-232471@lists.php.net to get a copy of this message
Hello, I am fairly new to PHP and am having an (SILLY) issue that I cannot seem to resolve: I am pulling data from an html file and some of the lines of text that I need start with "</a>". I cannot seem to get rid of that tag!!! I have tried: * str_replace("<\a>", "", $line) * preg_replace('/<\/a>/', '', $line) and various other attempts at creating the appropriate regex for <\a> * $line = htmlspecialchars($line) str_replace("&lt;/a&gt;", "", $line) * And obviously strip_tags is not working for me either! Do you have any suggestions? Best Regards, Rochelle Clinton Bioinformatics Coordinator University of Kentucky 200 Thomas Hunt Morgan Building office: (859) 257-2161 cell: (406) 570-5383 email: raclin3@email.uky.edu

« previous php.general (#232471) next »