ereg("^[0-9a-z] restricts only 0-9 and a-z character what about other langauge character
<p>i have a form and i want to allow users with all character without any space . so i was using this for english character </p>

<pre><code>ereg("^[0-9a-z] 
</code></pre>

<p>but later i have decided to allow other character of different languages like arabic, spanish,chinese so i have removed this restriction but after that users started registering with a username with space and for that my website is showing page not found.
so can you please advice what i should use so that i can allow users with different languages to signup for my site</p>
