I have a plain text file with one url per line, enclosed with <link></link> tags. ECHO-ing the variablee (including the tags) works fine but now I'd like to remove the tags. escaping the angle brackets with one or multiple ^ does not work. here's the code
FOR /F "tokens=* USEBACKQ" %%F IN (`findstr "<link>" test.txt`) DO (
SET what=%%F
SET result=%what:<link>=%
ECHO %result%
)
is there another way of doing it?