A process for purification of a feed gas comprising the steps of: - compressing the feed gas; - removing water from the compressed gas; - treating the at least partially dried and compressed gas for the removal of impurities, Wherein the treatment step comprises passing the at least partially dried and compressed gas through a solvent absorber to remove volatile organic compounds (VOCs) and carbon dioxide and any water, wherein the solvent absorber is arranged in a solvent circulation circuit comprising a first and a second treatment means (140, 240) for regeneration of the solvent to remove the absorbed impurities, which regeneration comprises: - operating the first treatment means at a higher pressure than the second treatment means, wherein the treatment in the first and the second treatment means comprises a pressure reduction configured to generate flash gas; - dividing part of the solvent from the solvent recirculation circuit in a removal stream, which division occurs in or downstream of the first treatment means and upstream of the second treatment means, - reducing the VOC concentration of the removal stream comprising the step of stripping the solvent by means of a strip gas, wherein the strip gas is flash gas coming from the first treatment means in the solvent recirculation circuit, and thereafter - returning the removal stream to the solvent recirculation circuit. - compressing the feed gas; - removing water from the compressed gas; - treating the at least partially dried and compressed gas for the removal of impurities, Wherein the treatment step comprises passing the at least partially dried and compressed gas through a solvent absorber to remove volatile organic compounds (VOCs) and carbon dioxide and any water, wherein the solvent absorber is arranged in a solvent circulation circuit comprising a first and a second treatment means (140, 240) for regeneration of the solvent to remove the absorbed impurities, which regeneration comprises: - operating the first treatment means at a higher pressure than the second treatment means, wherein the treatment in the first and the second treatment means comprises a pressure reduction configured to generate flash gas; - dividing part of the solvent from the solvent recirculation circuit in a removal stream, which division occurs in or downstream of the first treatment means and upstream of the second treatment means, - reducing the VOC concentration of the removal stream comprising the step of stripping the solvent by means of a strip gas, wherein the strip gas is flash gas coming from the first treatment means in the solvent recirculation circuit, and thereafter - returning the removal stream to the solvent recirculation circuit. - operating the first treatment means at a higher pressure than the second treatment means, wherein the treatment in the first and the second treatment means comprises a pressure reduction configured to generate flash gas; - dividing part of the solvent from the solvent recirculation circuit in a removal stream, which division occurs in or downstream of the first treatment means and upstream of the second treatment means, - reducing the VOC concentration of the removal stream comprising the step of stripping the solvent by means of a strip gas, wherein the strip gas is flash gas coming from the first treatment means in the solvent recirculation circuit, and thereafter - returning the removal stream to the solvent recirculation circuit.