Puddinq.com sharing knowledge

Regex jquery full name

Regex jquery full name

let regexp = /[A-Za-zÀ-ÖØ-öø-ÿ]+\s+[\sA-Za-zÀ-ÖØ-öø-ÿ]+/g;
        if (regexp.test(jQuery(this).val()) === true) {