this i know..... but i need use preg_replace..... any body can help me, thank you very much !!
"Casey" <[EMAIL PROTECTED]> ???????:[EMAIL PROTECTED] > On Feb 3, 2008, at 5:00 PM, "LKSunny" <[EMAIL PROTECTED]> wrote: > >> <? >> $txt = <<<eof >> aaaaaaaaa >> aaaaaaaaa >> aaaaaaaaa >> >> bbbbbbbb >> bbbbbbbb >> >> bbbbbbbb >> eof; >> >> //i just want replace "start to first \r\n\r\n" >> //how can i do ? >> //i want out put >> /* >> bbbbbbbb >> bbbbbbbb >> >> bbbbbbbb >> */ >> print preg_replace("What's is this ?", "", $txt); >> >> //Thank You !! >> ?> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > list(, $result) = explode("\r\n\r\n", $string, 2); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php