03-22-2010, 08:59 PM
|
#3 (permalink)
|
|
The Wanderer
Join Date: Mar 2010
Posts: 9
Thanks: 2
|
Yeah I know it sucks when it doesn't save. As a rule of thumb I always copy my response before I post it.
In the meantime you saved my butt again. Thanks! I like your second expression better, but I had to modify it to this:
PHP Code:
$txt = preg_replace('~<a([^>]+)~i', '<a\\1 target="_blank"', $txt);
IDK maybe I use a different PHP version?
|
|
|
|