Guest User

Untitled

a guest
Feb 13th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. $text = preg_replace('/[url=(.*)](.*)[/url]/Usie', ''<a href="'.(substr('\1',0,7)=='http://' ? '\1' : 'http://\1').'" rel="nofollow" target="_blank">\2</a>'', $text);
Add Comment
Please, Sign In to add comment