Regex matching problem

2005-10-11 Thread Juan Manuel Casenave
Hi, I've got a .txt with 25 of numerically named lines (example). (Example): 1. First Name: 2. Last Name: 3. Age: 4. Company: 5. Quality of the service: ... 25. Would you recommend our services: I'm trying to strip everything after the colon so I'm just left with the answer. In case there is no

Re: Regex matching problem

2005-10-11 Thread Jeff 'japhy' Pinyan
On Oct 11, Juan Manuel Casenave said: 1. First Name: 2. Last Name: 3. Age: #!/usr/bin/perl # strip_answers.pl use strict; use warnings; # array to store the stripped results my @information; # open a filehandle to output.txt (where the results are stored) in read mode open (IN, '',

RE: Regex matching problem

2005-10-11 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Juan Manuel Casenave wrote: Hi, I've got a .txt with 25 of numerically named lines (example). (Example): 1. First Name: 2. Last Name: 3. Age: 4. Company: 5. Quality of the service: ... 25. Would you recommend our services: I'm trying to strip everything after the colon so I'm