public static <M,I> RowFilter<M,I> regexFilter(String regex,
int... indices)
Returns a RowFilter that uses a regular expression to determine which entries to include. Only entries with at least one matching value are included. For example, the following creates a RowFilter that includes entries with at least one value starting with "a":
RowFilter.regexFilter("^a"

;
The returned filter uses Matcher.find() to test for inclusion. To test for exact matches use the characters '^' and '$' to match the beginning and end of the string respectively. For example, "^foo$" includes only rows whose string is exactly "foo" and not, for example, "food". See Pattern for a complete description of the supported regular-expression constructs.
Parameters:
regex - the regular expression to filter on
indices - the indices of the values to check. If not supplied all values are evaluated