Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

help w/reg. expressions for findstr


  • Please log in to reply

#1
jahred

jahred

    Member

  • Member
  • PipPip
  • 15 posts
Hello,

I'm trying to use the findstr command to search for a certain string of text at a particular line position, for each line in a data file.

For illustration, the data look like:

59012...073...021
69012...073...021
69012...892...021
69012...655...021
...

I am interested in returning those lines only with the string 073 (for example) located at position 81 on each line, but can't find a combination of regular expressions to specify this. I'm unsure if findstr is even capable of doing it.

Any advice is much appreciated.

--

jared tobin, research assistant
dept. of fisheries and oceans
Edit:Email removed for safety .
  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP