Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mailint1
  • Content: Threads
  • Order by date
  1. mailint1

    show only numbers before, within or after the text

    I have a long text file like this: 324yellow 34house black 54532 15m21red56 44dfdsf8sfd23 How can I obtain (Perl - Windows/commandline/singleline) the following? 1) only the numbers at the beginning before some alpha text, like this: 324 34 15 44 2) only the numbers within the alpha text...
  2. mailint1

    Convert some files from html to plaintext

    I have many html files named like these: c:\dir\femo-black.html c:\dir\loren-white.html c:\dir\spark-white.html c:\dir\kim-black.html c:\dir\paul-white.html How can I convert only the files named "c:\dir\*-white.html" to plaintext files named c:\dir\(original filename)-text.txt? BTW do you...
  3. mailint1

    To extract numbers from files with Perl

    I have thousands of files named like these: c:\input\pumico-home.html c:\input\ofofo-home.html c:\input\cimaba-office.html c:\input\plata-home.html c:\input\plata-office.html c:\input\zito-home.html I need a Perl script that only for the files of those that match "c:\input\*-home.html"...
  4. mailint1

    launch a DOS program from a Perl script?

    Can I launch a DOS program from within a Perl script? ____ This is what I need to do: I have many files like this: c:\dir\pippo-red.html c:\dir\paperino-yellow.html c:\dir\pluto-red.html c:\dir\gastone-green.html I have a HTML2TXT.EXE program that converts files from html to txt...
  5. mailint1

    regex and file handling

    I have thousands of files named like these: c:\input\pumico-home.html c:\input\ofofo-home.html c:\input\cimaba-office.html c:\input\plata-home.html c:\input\plata-office.html c:\input\zito-home.html I need a Perl script that pass through both the categories of these files (* -home.html...
  6. mailint1

    Calculate the number of days between two dates

    Given two dates like the following Feb-14-07 18:20:11 Mar-03-07 20:32:19 how can I calculate the number of days (with decimals!) between the first and the second?

Part and Inventory Search

Back
Top