Why are you doing a replace and not a match?