title: Accessing multiple captures in a RegEx (Newbie thing...)
body: <p>in this regex multiple capture I have to add "g" flag to obtain all items...</p>
  
  <p>"aaa bbb ccc \n.000.\n \n.111.\n sd555 dsf \n.222.\n ddd ".match( /^.(.*).$/gm )</p>
  
  <p>when I add the "g" (global) flag ?how do access the captured groups... there should be 3 like ["000", "111", "222"] but i don't know how to access them... I keep getting [".000.", ".111.", ".222."] &lt;&lt; note the dots before and after the words</p>