1. //选择 |
    2. //分组 ( )
    3. var str = "哪里,哪去能发多少积分"
    4. var reg = /哪里|能发/g
    5. console.log(str.replace(reg,"*"));