📅  最后修改于: 2022-03-11 15:02:46.938000             🧑  作者: Mango
//^[a-z\u00C0-\u02AB'´`]+\.?\s([a-z\u00C0-\u02AB'´`]+\.?\s?)+$
function isValidName(myval) {
var validCharactersRegex = /^[a-z\u00C0-\u02AB'´`]+\.?\s([a-z\u00C0-\u02AB'´`]+\.?\s?)+$/;
return validCharactersRegex.test(myval.trim());
}