protected static boolean regexListMatch(List<String> regexList,String input){
  for (  String regex : regexList) {
    if (Pattern.matches(regex,input)) {
      return true;
    }
  }
  return false;
}

protected static boolean regexListMatch ( List < String > regexList , String input ) { for ( String regex : regexList ) { if ( Pattern . matches ( regex , input ) ) { return true ; } } return false ; }
check if any regex string in a list matches a given input value
