1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

XP Searching For Multiple Occurences of Any Line of Text

Discussion in 'Windows XP' started by MrQubit, Feb 4, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. MrQubit

    MrQubit Thread Starter

    Joined:
    Feb 4, 2007
    Messages:
    2
    :confused: Hi I am running Windows XP Home Edition and I am desparately trying to search through a massive number of HTM files, what I am trying to do is find any single HTM file which contains more than one occurence of any telephone number or address (not any specific number or address I just need to identify the files which contain more than one occurence) please anybody tell me how I am desparate please help any help is greatly appreciated thanx:)
     
  2. drumster

    drumster

    Joined:
    Apr 23, 2006
    Messages:
    129
    Try using specialised desktop search tools like Google Desktop or windows desktop search
     
  3. Frank4d

    Frank4d Retired Trusted Advisor

    Joined:
    Sep 10, 2006
    Messages:
    9,126
    I don't think it would be possible using a batch or script unless the address or phone number were some fixed format or length, or contains some identifier that tells the batch or script what text is an address or phone number.
     
  4. MrQubit

    MrQubit Thread Starter

    Joined:
    Feb 4, 2007
    Messages:
    2
    thanx drumster and frank4d iyll try both suggestions i think i may have to get into the ms batch and c programming stuff thanx
     
  5. Frank4d

    Frank4d Retired Trusted Advisor

    Joined:
    Sep 10, 2006
    Messages:
    9,126
    Phone numbers would not be very difficult. Search for groups of numbers in the following formats:
    1234567890, 123-456-7890, (123) 456-7890, 4567890, or 456-7890
    if found continue searching for the same string
    if the same sstring found a second time, copy the file to a found folder.

    Not sure how to approach addresses.
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/541103

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice