public static String removePattern(final String source,final String regex){
  return replacePattern(source,regex,StringUtils.EMPTY);
}

public static String removePattern ( final String source , final String regex ) { return replacePattern ( source , regex , StringUtils . EMPTY ) ; }
removes each substring of the source string that matches the given regular expression using the dotall option .
