..non funziona

mi dice:
method replaceAll not found in java.lang.String