Add getStringsByRegex method to StringUtils.