title: Pipe separated values in groups of 3 regex
body: <p>I have the following string</p>
  
  <pre><code>abc|ghy|33d
  </code></pre>
  
  <p>The regex below matches it fine</p>
  
  <pre><code>^([\d\w]{3}[|]{1})+[\d\w]{3}$
  </code></pre>
  
  <p>The string changes but the characters separated by the pipe are always in 3's ... so we can have</p>
  
  <pre><code>krr|455
  </code></pre>
  
  <p>we can also have</p>
  
  <pre><code>ddc
  </code></pre>
  
  <p>Here's where the problem happens: The regex explained above doesn't match the string if there is only one set of letters ... i.e. "dcc"</p>