SOURCE
JavaScript
Result
var reg = /^[a-zA-Z][0-9]$/g; var str = "A1"; document.write( tr.match());
console 命令行工具
X
clear
>
console