SOURCE
JavaScript
Result
oninput="value=value.replace(/[^0-9xX]/g, '')"
console 命令行工具
X
clear
>
console