title: Word not starting with di and men (prefix)
body: <p>I am having a problem creating a regex that suits the following criteria:</p>
  
  <ol>
  <li>prefix : Not starting with “di” and “men”</li>
  <li>Sequences of character : a-z</li>
  <li>suffix : End with:
    • in, at, ah, iah,
    • sequences of vowel (a,e,i,o,u),
    • then “wi”,
    • sequences of consonants ending with i</li>
  </ol>
  
  <p>This is the regex that I created, but it seems doesn't work. Please help me.</p>
  
  <pre><code>$count = preg_match_all("^(^\bdi|^\bmen]\w*(in|at|ah|iah)((a|e|i|o|u)(wi)((?!(a\e\i\o\u)i$/",$value,$match);
  </code></pre>
  
  <p>For example, the output should capture word "lain", not "dian".</p>