Tariq,
Have you checked out
the Java Tutorial on Properties?
One possible approach is to use
Properties#propertyNames to get an Enumeration of the property names available, find the ones that meet your criteria, and get those properties.
[ April 24, 2008: Message edited by: Stevi Deter ]