Re: [PHP] preg_replace pain!

2001-01-18 Thread Shaun Thomas
On Thu, 18 Jan 2001, Christian Reiniger wrote: > On Thursday 18 January 2001 07:40, Nicholas Pappas wrote: > > > I was hoping someone could help me with this regular expression... > > > > $pattern = "/\[b\](.*)\[\/b\]/Ui"; > > $message = preg_replace($pattern, "\\1", $message); > > >

Re: [PHP] preg_replace pain!

2001-01-18 Thread Christian Reiniger
On Thursday 18 January 2001 07:40, Nicholas Pappas wrote: > I was hoping someone could help me with this regular expression... > > $pattern = "/\[b\](.*)\[\/b\]/Ui"; > $message = preg_replace($pattern, "\\1", $message); > > The above works for: > [b]bold text[/b] > >

RE: [PHP] preg_replace pain!

2001-01-17 Thread Maxim Maletsky
Original Message- From: Nicholas Pappas [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 3:41 PM To: [EMAIL PROTECTED] Subject: [PHP] preg_replace pain! I was hoping someone could help me with this regular expression... $pattern = "/\[b\](.*)\[\/b\]/U

[PHP] preg_replace pain!

2001-01-17 Thread Nicholas Pappas
I was hoping someone could help me with this regular expression... $pattern = "/\[b\](.*)\[\/b\]/Ui"; $message = preg_replace($pattern, "\\1", $message); The above works for: [b]bold text[/b] But does not work for: [b]bold text w/