lib/checks/label/label-content-name-mismatch.js
function curateString(str) {
	const noUnicodeStr = text.removeUnicode(str, {
		emoji: true,
		nonBmp: true,
		punctuations: true
	});
	return text.sanitize(noUnicodeStr);
}
function curateString(str) {
	const noUnicodeStr = text.removeUnicode(str, {
		emoji: true,
		nonBmp: true,
		punctuations: true
	});
	return text.sanitize(noUnicodeStr);
}
function curateString ( str ) { const noUnicodeStr = text . removeUnicode ( str , { emoji : true , nonBmp : true , punctuations : true } ) ; return text . sanitize ( noUnicodeStr ) ; }
Curate given text, by removing emoji's, punctuations, unicode and trim whitespace.

@param {String} str given text to curate
@returns {String}
Curate given text by removing emoji s punctuations unicode and trim whitespace .