cat chapter.txt | perl -pe 'chomp; next unless $_; s/(\d+:\d+)/\n${1}/;s/\s?$/ /;'