update regex replace in date