s/(.*):.*$/$1/; [download]
In reply to Re: Why doesn't this s/regex// work? by Roy Johnson in thread Why doesn't this s/regex// work? by nneul