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