html:

<textarea ng-module="dataText"></textarea>

js:

<script>

var BQ_RANGES=[
'\ud83c[\udf00-\udfff]',
'\ud83d[\udc00-\ude4f]',
'\ud83d[\ude80-\udeff]'
];

//过滤

var reg = new RegExp(BQ_RANGES.join('|'),'g');

if(reg.test(dataText)){
 alert("您输入的字符不包含表情")
}

</scirpt>

04-20 17:04