@echo off set VER=1.2.9 sed -i -E "s/version>.+?%VER%.+?%VER%