Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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 );
- $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