using a regular expression, i can parse the string, but what i really need is to only parse the 8 lines designated, and they are not in sequential order, which makes it somewhat problematic. the format of the output i want to get should be as in the following example (female: under5, 5to9, 10to14, 15to17): [864, 949, 875, 534] and then ...