Chinese characters?
can punctuation marks of full-width and half-width also be expressed in charcode range?
Chinese characters?
can punctuation marks of full-width and half-width also be expressed in charcode range?
console.log(str.match(/[\u0000-\u00ff]/g)) //
console.log(str.match(/[\u4e00-\u9fa5]/g)) //
console.log(str.match(/[\uff00-\uffff]/g)) //
Previous: Spring-data-jpa automatically limits query results according to conditions
Next: Is the purpose of flexible.js distinguishing dpr from setting a fixed font size?