On Feb 3, 2008 9:04 PM, LKSunny <ad@xxxxxxxx> wrote: > this i know..... > but i need use preg_replace..... > > any body can help me, thank you very much !! > > "Casey" <heavyccasey@xxxxxxxxx> > ???????:2C658DD6-6A3D-47DE-96F7-06E9D9CB148F@xxxxxxxxxxxx > > > On Feb 3, 2008, at 5:00 PM, "LKSunny" <ad@xxxxxxxx> 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); > > -- Why do you need preg_replace? -- -Casey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php