Add some regular expression in JS sample
caputure sapmle