title: Regular Expression PL/SQL
body: <p>I am trying to use some regular expressions in PL/SQL.</p>
  
  <p>I try to check the following pattern: LOKATIONS_ID => /LAND/ORT/GEBÄUDE/</p>
  
  <p>I've tried this one:</p>
  
  <pre><code>create or replace function check_lok_id(lok_id in varchar2) return boolean
  is
  begin
    if regexp_like (lok_id, '^(/[A-Z]+?){3}/$)')
      then
        return true;
    else
      return false;
    end if;
  end;
  </code></pre>
  
  <p>But unfortunately this one and several other regular expressions i've tested so far doesn't work.</p>
  
  <p>Any suggestions?</p>