|This should work, assuming the tag is called "td" and the value to be extracted are only one character in length.|
Also, if the code structure is as following:
The script will not work. It has to be on one line, as you stated in your example.
for /f "skip=1 tokens=*" %%A in (yourFile.html) do (
for /f "tokens=1 delims=>" %%B in ("!raw!") do (
if !tag!==td (
99 little bugs in the code,
99 little bugs.
Take one down, patch it around,
129 little bugs in the code.
message edited by RainBawZ