So I did this to save some time
(?<=(?:version\s*=\s*"|^\S+\s*=\s*"))([^"]+)(".*?\n(?:##.*?⬆.*?=\s*"[^"]*".*?\n)*?##.*?⬆.*?=\s*")
And it matches new version one line at a time so it can be replaced without highlighting text manually and erasing it

Hope this will be useful to someone!