title: Find a subsequence of an array of tuples using regex
body: <p>Lets assume that I have the following array of string tuples:</p>
  
  <pre><code>[N][F][N][N,F],[F,NN,FN,...][N,F],[F,NB,NN,..]
  </code></pre>
  
  <p>I want to find a sublist that the first tuple contains <code>N</code> and the second one contains <code>F</code>.</p>
  
  <p>Here  are the excepted answers:</p>
  
  <pre><code>    [N][F]
      [N][N,F]
      [N,F],[F,NN,FN]
      [N,F],[F,NB,NN]
  </code></pre>
  
  <p>I've tried this</p>
  
  <pre><code>(\[N\])(\[F\])
  </code></pre>
  
  <p>So it can detect <code>[N][F]</code>, But with it only works where tuples has only one element.</p>
  
  <p>Is it possible to achieve this using regex?</p>