Re: [PHP] Replace ANYTHING between

2001-07-22 Thread ReDucTor
".nl2br(htmlspecialchars(stripslashes($somevar))).""; ?> - Original Message - From: Dan Krumlauf <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 2:36 PM Subject: [PHP] Replace ANYTHING between > I've been trying this one f

[PHP] Replace ANYTHING between

2001-07-22 Thread Dan Krumlauf
I've been trying this one for a bit and Im in a twist. I need to replace ANYTHING or even nothing between two tags with the contents of a variable and just havent been able to get the expression right for all cases. As an example concept follows: Nothing between the tags variable is $varname