Strip SNAPSHOT string