我目前将以下行存储在一个名为google.txt
. 我想分隔这些行并将这些分隔的字符串存储在数组中。
喜欢第一行
@qf_file= q33AgCEv006441
@date = Tue Apr 3 16:12
@junk_message = User unknown
@rf_number = ngandotra@nkn.in
the line ends at the @rf_number at last emailadress
q33AgCEv006441 1038 Tue Apr 3 16:12 <test10-list-bounces@lsmgr.nic.in>
(User unknown)
<ngandotra@nkn.in>
q33BDrP9007220 50153 Tue Apr 3 16:43 <karuvoolam-list-bounces@lsmgr.nic.in>
(Deferred: 451 4.2.1 mailbox temporarily disabled: paond.tndt)
<paond.tndta@nic.in>
q33BDrPB007220 50153 Tue Apr 3 16:43 <karuvoolam-list-bounces@lsmgr.nic.in>
(User unknown)
paocorp.tndta@nic.in>
<dtocbe@tn.nic.in>
<dtodgl@nic.in>
q33BDrPA007220 50153 Tue Apr 3 16:43 <karuvoolam-list-bounces@lsmgr.nic.in>
(User unknown)
<dtokar@nic.in>
<dtocbe@nic.in>
q2VDWKkY010407 2221878 Sat Mar 31 19:37 <dhc-list-bounces@lsmgr.nic.in>
(host map: lookup (now-india.net.in): deferred)
<arjunpan@now-india.net.in>
q2VDWKkR010407 2221878 Sat Mar 31 19:31 <dhc-list-bounces@lsmgr.nic.in>
(host map: lookup (aaplawoffices.in): deferred)
<amit.bhagat@aaplawoffices.in>
q2U8qZM7026999 360205 Fri Mar 30 14:38 <dhc-list-bounces@lsmgr.nic.in>
(host map: lookup (now-india.net.in): deferred)
<arjunpan@now-india.net.in>
<amit.bhagat@aaplawoffices.in>
q2TEWWE4013920 2175270 Thu Mar 29 20:30 <dhc-list-bounces@lsmgr.nic.in>
(host map: lookup (now-india.net.in): deferred)
<arjunpan@now-india.net.in>
<amit.bhagat@aaplawoffices.in>