刪除重復字符js代碼
<script type="text/vbscript">
<!
dim str
str="您好
set regex = new regexp
regex
regex
regex
set matches = regex
for each match in matches
alert("重復的字符:" & match
alert("整個重復的字符:" & match
next
//
</script>
From:http://tw.wingwit.com/Article/program/net/201311/14474.html