Fixed replace regex for version