Results 1 to 3 of 3
  1. #1

    How to filter dates from a text file ?

    hi to all. i'm new in C. then, i've to code a programme that filters dates from a text file. for example ;

    text file includes :


    i've to filter 01/01/2007 - 01.01/2007 and 4-2-2006 from the file. and also write into the output. how can i do that ? (source code can be in C or JAVA.)

  2. #2
    Join Date
    May 2006
    Teh Interweb
    You are going to want to look into regular expression matching. This will allow you to only print strings that match a your search criteria.

    [[email protected]] ~ $ cat .signature
    cat: .signature: No such file or directory

  3. #3
    Join Date
    Jan 2007
    This tutorial is pretty good for Reg-Ex help:
    Host In Us Web Hosting Services |
    Premium Enterprise Shared Web Hosting
    Less than 80 Customers per server!

    Try us out! We want to earn your business

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts