@skeptical Are you sure the dot shouldn't be escaped on this line? Like replaceAll("\\.", etc.