Hi to everybody;
firstly sorry for my english;
i need a batch file to remove string from txt file and i searched everywhere but i didnt find it.
please help me
i have a txt file like
AHMET AKIN|23453212|03.03.2014|ANKARA
SDKLS SDSD|32423324|04.04.2014|ANKARA
i want my output txt like
23453212
32423324
is there ant dos command to do it.
please helpp
regards
Cumhur
Remove String from txt file
Moderator: DosItHelp
Re: Remove String from txt file
Code: Select all
@echo off
for /f "usebackq tokens=2 delims=|" %%a in ("file.txt") do >>"newfile.txt" echo %%a
pause
Re: Remove String from txt file
thank you my friend it Works
i am so greatfull to you
best regards
i am so greatfull to you
best regards