title: Notepad++ RegeEx group capture syntax
body: <p>I have a list of label names in a text file I'd like to manipulate using Find and Replace in Notepad++, they are listed as follows:</p>
  
  <pre><code>MyLabel_01
  MyLabel_02
  MyLabel_03
  MyLabel_04
  MyLabel_05
  MyLabel_06
  </code></pre>
  
  <p>I want to rename them in Notepad++ to the following:</p>
  
  <pre><code>Label_A_One
  Label_A_Two
  Label_A_Three
  Label_B_One
  Label_B_Two
  Label_B_Three
  </code></pre>
  
  <p>The Regex I'm using in the Notepad++'s replace dialog to capture the label name is the following:</p>
  
  <pre><code>((MyLabel_0)((1)|(2)|(3)|(4)|(5)|(6)))
  </code></pre>
  
  <p>I want to replace each capture group as follows:</p>
  
  <pre><code>\1 = Label_
  \2 = A_One
  \3 = A_Two
  \4 = A_Three
  \5 = B_One
  \6 = B_Two
  \7 = B_Three
  </code></pre>
  
  <p>My problem is that Notepad++ doesn't register the syntax of the regex above.  When I hit Count in the Replace Dialog, it returns with 0 occurrences.  Not sure what's misesing in the syntax.  And yes I made sure the Regular Expression radio button is selected.  Help is appreciated.</p>
  
  <p>UPDATE:</p>
  
  <p>Tried escaping the parenthesis, still didn't work:</p>
  
  <pre><code>\(\(MyLabel_0\)\((1\)|\(2\)|\(3\)|\(4\)|\(5\)|\(6\)\)\)
  </code></pre>