Name: Anonymous 2010-01-13 19:26
for matching an URL string
well, i found this but it's not working:
'(http|https)([:\/\w\s\d\.]*)/i'
well, i found this but it's not working:
'(http|https)([:\/\w\s\d\.]*)/i'
'(http|https)([:\/\w\s\d\.]*)/i'
s!'!/'!/g
(https?://)?([-_\w\d\.\/]*) /[-+.a-z]+:(?:[-\w+.\$!*'(),;\/?:\@&=]+|%[\da-f]{2})*/i
'(https?|ftp|ssh)?(://)?(www.)([;:\/\w\s\d\.\-\_\?\=]*)( )''(https?|ftp|ssh)(://)([:\/\w\s\d\.\-\_\?\=]*)( )'