alert(/[abc]/.test("c"));                            //true
alert("a bat ,a Cat,a fAt bat ,a faT cat".match(/[bcf]at/gi));      //bat,Cat,fAt,bat,faT,cat

reg.test(str)

str.match(reg)

05-12 01:31