On Wed, 2006-09-20 at 11:45 +0700, Peter Lauri wrote:
Just to share my solution:
Out of curiosity, why don't you go with the very well known BBCode
system?
preg_replace('/_color:(.*?)_(.*?)_color_/i', 'font color=$1$2/font',
$html);
Hopefully this is a private system, otherwise someone not
).
This is a private system, so I do not worry so much :)
/Peter
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 2:13 PM
To: Peter Lauri
Cc: 'PHP General'
Subject: RE: [PHP] preg_replace (again) [solved]
On Wed, 2006-09-20 at 11:45 +0700
PM
To: Peter Lauri
Cc: 'PHP General'
Subject: RE: [PHP] preg_replace (again) [solved]
On Wed, 2006-09-20 at 11:45 +0700, Peter Lauri wrote:
Just to share my solution:
Out of curiosity, why don't you go with the very well known BBCode
system?
preg_replace('/_color:(.*?)_(.*?)_color_/i
Just to share my solution:
preg_replace('/_color:(.*?)_(.*?)_color_/i', 'font color=$1$2/font',
$html);
/Peter
-Original Message-
From: Peter Lauri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 9:42 AM
To: 'PHP General'
Subject: [PHP] preg_replace (again)
Hi group,
4 matches
Mail list logo