There are actually quite a lot of ANSI escape sequences, and a regex to catch them all would be very large, see here
I'd recommend getting ansi2txt (Python port, Go port) and piping your output to that instead.