What is the cleanest way to validate an web site address and username that a user enters that is iOS 2.0 compatible?
<p>i am new iphone developer,any know about this please tell me how to validate web site address and username(username don't allow space,enter key ans special characters),how can i do this.</p>

<pre><code>Thanks in advance.
</code></pre>
