Yet another way of doing it:
join '-', /\w{1,3}/g [download]
In reply to Re: Regex split string into n-length by hdb in thread Regex split string into n-length by hankcoder