In reply to Re: Find out which subpattern matched in regex by Anonymous Monk in thread Find out which subpattern matched in regex by Dallaylaen