hi

i have a large text blob that i want to extract strings out of. 
the large text blob looks like "Name: john doe Date: 060604
 Subject: this is subject Text: <long text blob>";

i want to just extract 'john doe' '060604' and 'this is subject'
 from the text blob.  what would be the best string function to use?  for instance, 
can i use preg match to extract the text between 'Name:' and 'Date:'? as these words 
would be the delimiters...

thanks
redmond



-- 
Redmond Militante
Software Engineer / Medill School of Journalism
FreeBSD 5.2.1-RELEASE-p9 #0: Thu Jul 1 14:36:26 CDT 2004 i386
 8:00PM  up 5 days,  2:04, 2 users, load averages: 0.40, 0.08, 0.03

Attachment: pgppgX8ap40eP.pgp
Description: PGP signature

Reply via email to