sed 's/\x1b\[[;0-9]*m//g'
> One could do this with GNU sed, but developers working in proprietary operating systems don't have GNU sed.