in reply to Text Extraction

sonicscott9041,
It sounds like your requirements are simple:
#!/usr/bin/perl use strict; use warnings; my $file = $ARGV[0] or die "Usage: $0 <input_file>"; open(my $fh, '<', $file) or die "Unable to open '$file' for reading: $ +!"; while (<$fh>) { next if /^(?:\s|[:cntrl:])/ || /^$/; s/^\S+\s//; print; }
If that's not what you want, you will need to do a better job of describing your requirements. The code above is untested.

Cheers - L~R

Replies are listed 'Best First'.
Re^2: Text Extraction
by sonicscott9041 (Novice) on Jul 22, 2009 at 16:32 UTC
    Thank you L~R. I will try this. I guess I was over-thinking it.