Validate user entered data by following requirements in PHP
<p>How can one validate user entered data in these requirements:</p>

<ol>
<li>in lower case letters, </li>
<li>no special characters, also no white space characters, </li>
<li>and also allow only one hyphen.</li>
</ol>
