title: Matching specific characters at any position in words
body: <p>How can I match words containing specific characters, say 'a' and 'r' at any position? E.g. in</p>
  
  <p><code>Maria xxx Paul xxx Taylor xxx Henry xxx</code></p>
  
  <p>the regex should match <code>Maria</code> and <code>Taylor</code> only.</p>
  
  <p>Something like <code>\d.*[ar].*\b</code> doesn't work because that character class means 'a OR r', not 'a AND r'.</p>
  
  <p>It seems to work with <code>(?i)\b\w*((?=r)\w*(?=a)|(?=a)\w*(?=r))\w*\b</code> but I wonder if there is a more efficient pattern?</p>
  
  <p>I'm using an editor working with PCRE v8.36, no JavaScript. Thanks!</p>