public String replaceAllInWith ( String regEx , String value , String replace ) { String result = null ; if ( value != null ) { if ( replace == null ) { // empty cell in table is sent as null replace = "" ; } result = getMatcher ( regEx , value ) . replaceAll ( replace ) ; } return result ; }
Replaces all occurrences of the regular expression in the value with the replacement value .