Delete period from regular expressions