Q:

regex in batch file

@echo off
set myvar= 192.168.1.1
echo %myvar% | findstr /i /r [A-za-z]
if %errorlevel% == 1 echo true
pause
0

New to Communities?

Join the community