Implemented replaceAll.