Updated code snippet formatting/tabs

Split to array at newline, loop through lines removing tabCount from each and concat with newline between each.