in reply to Re: Getting the number of times a regexp matchesin thread Getting the number of times a regexp matches