I have a simple a regex like so _(([a-zA-Z]|_)*) to match the words anything after underscore like so _price_range * _qty_val, the catpure words which I am looking for price_range, qty_val but for weird mistake there are three matching groups, the last one being the last words of the matching word which is e and l in my case. Can someone explain or let me what I am doing wrong here? I don't want the last matching group.
