Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 653865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:25:48+00:00 2026-05-13T22:25:48+00:00

I need to do the following things for a text file..and insert the seeked

  • 0

I need to do the following things for a text file..and insert the seeked words to a excel please give me some tips:

Seek the letter sequence anywhere in the file “stg-” take the first two characters from where it is searched … eg if the sentence has abc-stg-c5-sfdsdf then it should take c5 and this c5 should insert in the first column first row of the excel file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:25:48+00:00Added an answer on May 13, 2026 at 10:25 pm

    My first impression is that the search is best conducted by using a Regex.

    You don’t say if you have an open instance of Excel (i.e. you can do the insert using Excel automation), or if you want to write it directly into an Excel compatible file – in which case you may find it simplest to write a comma-delimited file.

    Does this help?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i created a text file list.txt in commonapplicationdatafolder by using the following VBscript.i am
I have the following basic code to read a text file from a StreamReader:
I am parsing some enum values from a text file. In order to simplify
I need to develop an application that will read and understand text file in
I'm a rookie trying to search a text file for some serial numbers. I'm
I need to match certain things from lines of an input text. The lines
I have the following structure in a text file: class Thing1 { pos[]={120.03,121,134.0987}; heading=-92.049;
I have a text file with thousands of words in it. I have to
I am fiddling around with the following code. However, I need the file name
I need to do the following thing: var a = from c in DB.Customers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.