js快速查找字符串某个字符出现次数
<script> a="9436lkjf092u3lk5hy90";b="9"; alert(eval("a.match(/"+b+"/ig).length")) </script>