title: Regex for matching groups but excluding a specific combination of groups
body: <p>I'm trying to match two groups in an expression, each group represents a single letter in initials as part of a name, for example in George R. R. Martin the first group would match the first R and the second group would match the second R, I have something like this: </p>
  
  <p><code>\b([a-zA-Z])[\.{0,1} {0,1}]{1,2}([a-zA-Z])\b</code></p>
  
  <p>However, I'd like to exclude a specific combination of those groups, say when the first group matches the letter d and the second group matches the letter r.</p>
  
  <p>Is that possible?</p>