Search found 1 match

by Krypt
Thu Oct 09, 2003 5:22 pm
Forum: PHP - Code
Topic: regular expression help
Replies: 2
Views: 335

regular expression help

I'm trying to modify the following bit of code: eregi_replace("((ht|f)tp://)((([a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4}))|(([0-9]{1,3}\.){3}([0-9]{1,3})))((/|\?)[a-z0-9~#%&'_\+=:\?\.-]*)*)", "<a href=\"\\0\" target=\"_blank\">\\0</a>", $text); What I'd like ...