Is value Chinese - Node.js Regular expression

Node.js examples for Regular expression:Validation

Description

Is value Chinese

Demo Code

function isChinese(value){

  var reg = /.*[\u4e00-\u9fa5]+.*$/;
  return reg.test(value)
}

Related Tutorials