Hi,
Give the sample data and then only one can tell what kind of regex you need.
If your data is simple, just fields delimited by ">" you don't need to write
regex, you can just work with "split". Read the data lines one by one, and
for each line use split to get the fields in an array.
Also remember the list is to help perl beginners, so no one will respond
positively if you just ask, I want to do this and help me. 
Read Perl docs, try something yourself and then post if you face any
problems.

Regards,
Dhanashri


-----Original Message-----
From: Rana [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 03, 2006 8:24 AM
To: beginners@perl.org
Subject: extracting information from a file

Hi,
I am a new bee to perl and I am trying to extract data present between
delimiter ">". I am not exactly sure how to write the regular expression so
that I can assign the extracted information to a string or an array.

Kindly help me in this regard.

Thank you.
Rana


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to