Group the pattern which matches your wishes result "()" then use $regml(N) N refers to the Nth result.