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

  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
5 hours ago
5 hours ago
6 hours ago
6 hours ago
2 days ago