Thank you all for the replies.
I solve it with the following code:
eregi_replace(a href=\(.+)\, a href=\\\1\ target=\_blank\
class=\down_txt\, $body);
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: PHP-mailist [EMAIL PROTECTED]
Sent: Friday,
From: [EMAIL PROTECTED]
eregi_replace(a href=\(.+)\, a href=\\\1\ target=\_blank\
class=\down_txt\, $body);
How is that any different than just doing a str_replace() on a, though?
The str_replace() is going to be much faster than the eregi_replace()
function and href doesn't _have_ to be the