replace . with \w