Hi,
I want to allow my users to have Scandinavian characters in their user names and I just can't get the regular expression right.
I have copied the following regex which works with normal chars and numbers.
if (preg_match('/^[a-z0-9][-\w]*$/i', $_uname))
I want also to allow for our "åÅäÄöÖ" characters as well. I don't know if the quoted characters is displayed properly on all clients but the html representation is:
%C3%A5%C3%85%C3%A4%C3%84%C3%B6%C3%96
I have found several tips but noone has worked.