Public paste
Undefined
By: Arie | Date: Aug 20 2007 09:41 | Format: None | Expires: never | Size: 181 B | Hits: 1427

  1. $data = preg_replace("#([\t\r\n ])([a-z0-9]+?){1}://([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^ \"\n\r\t<]*)?)#i", '\1<a href="\2://\3">\2://\3</a>', $data);
Latest pastes
7 hours ago
16 hours ago
15 months ago
16 months ago
21 months ago