Hi.
What's wrong about this code:

PHP Code:
function isUser(val) { 
   return /^[[:
alpha:]]+'?\s?[[:alpha:]]*$/.test(val); 

I don't want digit characters

I want to allow
alphabetic characters
(not only the english alphabet but also other country
ie
é,ò,ù,ì for italian
ç for francais
and so on )
the single quote ( ' ) ie Dall'ulma
the space ie De Andrè

example
Dell'Ogliè - good
De Oçois - good
Weißmüller - good
Weißmüller3 - bad
Bye.