public static String replaceWords(String input, String[] words, String[] replaces) {
        StringBuilder sb = new StringBuilder(input);
        replaceWords(sb, words, replaces);
        return sb.toString();
    }
public static String replaceWords ( String input , String [ ] words , String [ ] replaces ) { StringBuilder sb = new StringBuilder ( input ) ; replaceWords ( sb , words , replaces ) ; return sb . toString ( ) ; }
Replace all words in the input by the replaces. The replacements happens only if the texts to replace are not
part of a greater word, that is, if the text is a whole word, separated by non {@link Character#isLetterOrDigit(char)}
characters.
@param input the text where the replacements take place
@param words the words to look for and replace
@param replaces the new words to use