Guest User

Untitled

a guest
Jan 31st, 2012
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. $txt = preg_replace( "#<noindex><a href=[\"']([url]http://|https://|ftp://|ed2k://|news://|magnet:)?(\S.+?[/url])['\"].*?" . ">(.+?)</a></noindex>#ie", "\$this->decode_url('\\1\\2', '\\3')", $txt );
  2.             $txt = preg_replace( "#<a href=[\"']([url]http://|https://|ftp://|ed2k://|news://|magnet:)?(\S.+?[/url])['\"].*?" . ">(.+?)</a>#ie", "\$this->decode_url('\\1\\2', '\\3')", $txt );
Advertisement
Add Comment
Please, Sign In to add comment