FINDSTR

Microsoft Windows
Post Reply
User avatar
MigrationUser
Posts: 336
Joined: 2021-Jul-12, 1:37 pm
Contact:

FINDSTR

Post by MigrationUser »

20 Nov 2008 09:34
sergiu14

Hello,
How to make findstr filter all the linies that begin with TABS?

type a.txt | findstr [???missing text???]

Thank you

----------------------------

#2 20 Nov 2008 21:07
spam_killer


replace the TABS with another string as example "RG95984H" then filter out the lines..

After you get the output, again you replace the "RG95984H" with TABS.. Use notepad++ for more comfort

big_smile

----------------------------

#3 21 Nov 2008 18:16
avery_larry


I don't know why -- but this seems to work:

Code: Select all

type test.txt|findstr /r "^[^\t]"
----------------------------

#4 22 Nov 2008 01:31
carlos
avery_larry wrote:

I don't know why -- but this seems to work:

Code: Select all

  type test.txt|findstr /r "^[^\t]"
very good, was not very clear about the use of findstr, it now

----------------------------

#5 24 Nov 2008 09:45
sergiu14


Thank you Larry
Post Reply