Re: [PHP] about preg_replace, please help !

2008-02-04 Thread Daniel Brown
On Feb 3, 2008 8:00 PM, LKSunny <[EMAIL PROTECTED]> wrote: > $txt = << a > a > a > > > > > > eof; > > //i just want replace "start to first \r\n\r\n" > //how can i do ? [snip] Note the optional \r and required \n. This is because, if the i

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread Paul Scott
On Sun, 2008-02-03 at 21:06 -0800, Casey wrote: > Why do you need preg_replace? > Else he fails a homework assignment? --Paul -- . | Chisimba PHP5 Framework - http://avoir.uwc.ac.za | :--

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread Casey
On Feb 3, 2008 9:04 PM, LKSunny <[EMAIL PROTECTED]> wrote: > 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: > > >

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread LKSunny
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 = <<> a >> a >> a >> >> >>

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread Casey
On Feb 3, 2008, at 5:00 PM, "LKSunny" <[EMAIL PROTECTED]> wrote: -- 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:

[PHP] about preg_replace, please help !

2008-02-03 Thread LKSunny
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php