1. //选择 |
    2. //分组 ( )
    1. var str = "你去哪里,他在..."
    2. var reg = /你去|他在/g;
    3. console.log(str.replace(reg,"*")) //*哪里,*...