how can I clean this string from
html += "src='https://text1.com/text2/text3-text4/text5.txt'";
to
https://text1.com/text2/text3-text4/text5.txt
Thank in advance
Moderator: DosItHelp
html += "src='https://text1.com/text2/text3-text4/text5.txt'";
https://text1.com/text2/text3-text4/text5.txt
Code: Select all
set "string=html += "src='https://text1.com/text2/text3-text4/text5.txt'";"
for /f "tokens=2 delims='" %%i in ("%string%") do set "link=%%i"
echo %link%