title: How to write a function with Oracle regexp to test a domaine name?
body: <p>I would like to write a PLSQL function that returns true if the domain name I pass is valid.</p>
  
  <p>I should use regular expression, but I don't know how to do this.</p>
  
  <pre><code>declare  
    ignore boolean;  
  begin  
    isDomainSyntaxOk('www.laclasse.com'); --&gt; should return true.   
    isDomainSyntaxOk('www.la classe.com'); --&gt; should return false because of the space char.  
  end;  
  </code></pre>
  
  <p>Any ideas ?</p>