title: Regular Expression Extract string
body: <p>I have this expression </p>
  
  <pre><code>accordionMain_i0_accordion_i0_ctl01_0_ddl_xxxxxxxx_iy_tblItem
  </code></pre>
  
  <p>where xxx can contain also '_' and its number vary, and y start from 0 by incrementing. I would like to extract the xxxxxx using regular expression. I tried split function but the xxxx can contain several '_' , so by removing the last 2 element of the array from split I have to check for ddl, then join all part of xxx  etc. Do you know a better method by using REGEX? Any help would be greatly appreciated. </p>