It is currently Tue, 17 May 2022 01:56:20 GMT



 
Author Message
 Question: Extracting text from a file.
: Hi,
  ^^^

: What would be a good way of extracting text which falls between two
: given strings from a file?

: e.g. in this post I want to extract text between say, "Hi" and "--".

: Thanks.
: --
  ^^^

it's quite obvious what you think you need it for:
you wold need quite an intelligent program to distinguish any greetings
from other lines  
but perhaps it can be easier  just to grep out  those lines that begin
with Subject, Newsgroups, or References ...



 Tue, 01 Oct 1996 17:20:33 GMT   
 
   [ 1 post ] 

Similar Threads

1. Question on Extracting Text From Postscript Files

2. tar question: how do I extract some files without extracting directories

3. Extracting text from a file

4. Postscript file corrupted - extracting text/patching

5. How to extract columns from a text file?


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software