This cleans up ‘terraform plan’ output as rendered in Azure Devops if you copy it into vim

%s/\\[[0-9;]*m//g

I think it’s just removing the colours

Contents