Rimuovi codici di escape ANSI

Rimuove codici ANSI di colore e controllo mantenendo il testo.

Input: TestoRisultato: Testo

Inserimento di testo

Esempi

Remove terminal styling from FAIL

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

Input

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.

Input

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.

Input

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.

Input

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.

Input

README.md

Expected answer

README.md
cursor commands and clear screen

Input

Hello, World!

Expected answer

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

Input

4ed412276a2c54f50822cc09.bin

45 bytes

Scarica

Expected answer

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

Input

Hello, World!

Expected answer

Hello, World!
text with incomplete codes

Input

[31 Hello, World!

Expected answer

ello, World!

Strumenti correlati

Utilità

Riferimento dell’operazione

Vedi la documentazione tecnica originale (English)