Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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