Question about docker images cleanup

Hello. I want to set up " Clean up image tags" for the project (in self-hosted Gilab). I see only one “Remove tags older than:”. But I want to use two regexps. I need to leave only one latest image that matches first regexp, and only one latest image that matches second regexp. The regexps don’t intersect.

Is it possible?