Replace period with dash