export function removeRowNumber ( str ) { return str . replace ( /^\d*\u0008/gm , '' ) ; } export function cleanupOutput ( str ) { return removeRowNumber ( str ) . replace ( /\u0004/gi , '' ) . replace ( /\u0005/gi , '' ) ; }