Eliminar códigos de escape ANSI

Elimina códigos ANSI de color y control del terminal conservando el texto.

Entrada: TextoResultado: Texto

Entrada de texto

Ejemplos

Remove terminal styling from FAIL

Remove terminal styling from FAIL. The input is a small public learning fixture; it contains no private production data.

Entrada

FAIL

Expected answer

FAIL
Remove terminal styling from PASS

Remove terminal styling from PASS. The input is a small public learning fixture; it contains no private production data.

Entrada

PASS

Expected answer

PASS
Remove terminal styling from Release 2.1

Remove terminal styling from Release 2.1. The input is a small public learning fixture; it contains no private production data.

Entrada

Release 2.1

Expected answer

Release 2.1
Remove terminal styling from Warning: 3 retries

Remove terminal styling from Warning: 3 retries. The input is a small public learning fixture; it contains no private production data.

Entrada

Warning: 3 retries

Expected answer

Warning: 3 retries
Remove terminal styling from README.md

Remove terminal styling from README.md. The input is a small public learning fixture; it contains no private production data.

Entrada

README.md

Expected answer

README.md
cursor commands and clear screen

Entrada

Hello, World!

Expected answer

Hello, World!
text containing javascript escape representation of ansi escape codes

Entrada

4ed412276a2c54f50822cc09.bin

45 bytes

Descargar

Expected answer

UTF-8 text · exact bytes
\033[32;1;3;4;9mHello, \033[32;1;3;4;9mWorld!
text using x1b escape code

Entrada

Hello, World!

Expected answer

Hello, World!
text with incomplete codes

Entrada

[31 Hello, World!

Expected answer

ello, World!

Herramientas relacionadas

Utilidades

Referencia de la operación

Ver la documentación técnica original (English)