Removing a string from one area to another...

From: Date: Sat, 29 Mar 2003 15:17:27 +0000
Subject: Removing a string from one area to another...
Groups: php.general 
Request: Send a blank email to php-general+get-141583@lists.php.net to get a copy of this message
Could use some help on trying to remove mime from an incoming email. The emails (netscape or outlook) seem to clearly define... Netscape boundary="------------070304040709010903030405" Outlook boundary="----=_NextPart_000_0015_01C2F52F.777F61A0" Then remove the first occurence to the next..................... --------------070304040709010903030405 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit *TEST* --------------070304040709010903030405 This would remove the mime from netscape or outlook... Would be the part I would want to remove from the inforamtion.... So maybe with a preg_match on the boundary and then strip from that value until the next time you see the value?? Though now to put this in a language php understands?? Thanks --Al

« previous php.general (#141583) next »