regex to regex js code example Example: les fonctions reguliere javascript if(! pseudo.match(/^([a-zA-Z ]+)$/)) alert('Pseudo invalide');