移除 ANSI 跳脫序列

移除終端色彩和控制用的 ANSI 跳脫碼,保留文本内容。

輸入: 文本結果: 文本

文本輸入

範例

Remove terminal styling from FAIL

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

輸入

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.

輸入

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.

輸入

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.

輸入

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.

輸入

README.md

Expected answer

README.md
cursor commands and clear screen

輸入

Hello, World!

Expected answer

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

輸入

4ed412276a2c54f50822cc09.bin

45 bytes

下載

Expected answer

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

輸入

Hello, World!

Expected answer

Hello, World!
text with incomplete codes

輸入

[31 Hello, World!

Expected answer

ello, World!

相关工具

實用工具

操作参考

查看原始技术文檔 (English)