hi all,
me new to regular expresion. below is the file
'//// File Start
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
^D
Funds Transfer USD 10.00
Cust Ref : EEE
Bene Name : Niraj
Some More : 1
ONE MORE FIELD : Junk
THE LAST FIELD : For Trial
Funds Transfer USD 20.00
Cust Ref : BBB
Bene Name : Niraj
Some More : 1
ONE MORE FIELD : Junk
THE LAST FIELD : For Trial
'//// File End
need to read these blocks (using Regular expresion) and store them in an array... later sort the same on criteria which shall be maintained in some ini file or database.
the problem is how to construct a regular expresion for reading the entire block.
Pls help !
__________
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Niraj...
"The unexpected success is not just an opportunity for innovation. It demands innovation."
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
me new to regular expresion. below is the file
'//// File Start
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
^D
Funds Transfer USD 10.00
Cust Ref : EEE
Bene Name : Niraj
Some More : 1
ONE MORE FIELD : Junk
THE LAST FIELD : For Trial
Funds Transfer USD 20.00
Cust Ref : BBB
Bene Name : Niraj
Some More : 1
ONE MORE FIELD : Junk
THE LAST FIELD : For Trial
'//// File End
need to read these blocks (using Regular expresion) and store them in an array... later sort the same on criteria which shall be maintained in some ini file or database.
the problem is how to construct a regular expresion for reading the entire block.
Pls help !
__________
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Niraj...
"The unexpected success is not just an opportunity for innovation. It demands innovation."
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)