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