Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Paul E Collins
January 25, 2007, 7:22 am
rate this thread
single line. However, my regular expression needs to contain ?> and
that causes the interpreter to choke with a parse error. What's the
standard way to include ?> in a string?
My current (failing) attempt is:
$line = preg_replace('/<\?.*?\?>/', '', $line);