$text =~ s{ \b # Capture the URL to $1 . . . ( http:// hostname ( / path )? ) }{$1}gix; ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl