$ 0 0 Solutions proposed by the other members don't work for me. But I found this : to escape a dot in java regexp write [.]