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 6730191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:22:42+00:00 2026-05-26T10:22:42+00:00

I have an .csv with four or five columns of data for webstats. I

  • 0

I have an .csv with four or five columns of data for webstats.

I analyzed the data with a program how I wanted to, and now I have a text file with a list of the pages I want and I’d like to delete all of the data for every page I don’t need, so that only the ones from the text file remain.

i.e. If I have the .csv as follows:

/fruits-and-veggies/apples    16    3    03:43    .72%
/fruits-and-veggies/pears    8    2    02:34    .65%
/fruits-and-veggies/broccoli    6    5    04:23    .87%
/fruits-and-veggies/asparagus    46    6    01:23    .77%
/fruits-and-veggies/passion-fruit    36    7    05:53    .74%

And I have the text file as follows:

/fruits-and-veggies/apples
/fruits-and-veggies/pears
/fruits-and-veggies/passion-fruit

How do I manipulate the excel file so it only reads:

/fruits-and-veggies/apples    16    3    03:43    .72%
/fruits-and-veggies/pears    8    2    02:34    .65%
/fruits-and-veggies/passion-fruit    36    7    05:53    .74%

I’ve heavily researched this topic and have yet to come up with a viable solution. I’m using Windows XP, and batch files are favored if its possible, but I really don’t know where start.

  • 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-26T10:22:43+00:00Added an answer on May 26, 2026 at 10:22 am

    I would use python and its regular-expression module. It actually even has CSV module if I am not mistaken. There are many other ways / tools to do this.

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

Sidebar

Related Questions

I have a CSV data file with rows that may have lots of columns
I have a CSV of file of data that I can load in R
I have CSV file with sample data in this form : 220 30 255
I have a CSV file in the following format: id,code,date,address,complete_url Example data from the
I have .csv file with 4 columns. What's the easiest way to remove a
I have a CSV file with two columns: cat @ c a t dog
I have problem in splitting data. I have data as follows in CSV file:
I have a csv file as this: 1#one#two#three#four; 2#apple#tower#flower#robot; I read this file with
I have a csv file that has 2 columns separated by a comma -
I have CSV data file contained follow info: -0.2500000000,15, 15;15;15;15;15;15;15;15;15;15;15;15;15;15;15;15;15;0;0;0;0;0;15;0;0 ,0,0 I only want

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.