title: regex match entire word ( characters between whitespace ) that contain letters in this order
body: <p>I'm trying to match an entire words, characters between whitespace, if it contains the letters PRP in that case and in that order in javascript.</p>
  
  <p>What I'm trying to do is select all words that contain PRP and replace them with a <code></code>( space ).</p>
  
  <p>Here is a regex that I could come up with that matches anything with the letters p or r or p: <code>\b(?=\w*[PRP])\w+\b</code>.</p>
  
  <p>once I know the regex my plan is to do str.replace(matchAllWordsWithregex, ' ');</p>
  
  <p>So what is the regex and how do I say all words with this regex in the replace function?</p>