[123456]1234在js中要求写一个正则能将方括号中的数据取出
str="[123456]1234";arr=str.split("[")[1].split("]");alert(arr[0]);