Updated replace example grammar