Hi,

This Alex's regex at the manual notes,

PHP Code:
$pattern '#(^|[^\"\'=\]]{1})(http|HTTP|ftp)(s|S)?://([^\s<>\.]+)\.([^\s<>]+|.[^\.])#sm'
also matches truncated uls such as

PHP Code:
http://goooooooooooo....................gle.com 
So how could it be changed not to matche strings which has continuous dots?

Your information would be greatly appreciated.