How could I extract the information below:
Name :Smith, John WilliamArrest#: 1349087 1342556 All
AliasID#:351556
DOB:11/04/1976Race/Sex:W/M
Height:5'10"Weight:160
Arrested:01/02/2008
At:20:30By:MSD
Address:1426 Main DR Sometown ST 00000
Charges for Arrest #: 1349087
Court CaseArrest TypeCharge DescriptionBond $ AmountTypeArrest Process
0725218301TRAFFICDRIVING WHILE IMPAIRED4000SECUREDORDER FOR ARREST
0725218401TRAFFICDRIVING WHILE LICENSE REVOKED2000SECUREDORDER FOR ARREST
0725218501TRAFFICSPEEDING500SECUREDORDER FOR ARREST
into a format like this, (which is just a comma delimited file that I will put in a DB):
Smith, John William,1349087,,351556,11/04/1976,W/M,5'10",160,,01/02/2008,,20:30,MSD,1426 Main DR Sometown ST 00000,0725218301,TRAFFICDRIVING WHILE IMPAIRED,4000,SECURED,ORDER FOR ARREST,0725218401,TRAFFIC,DRIVING WHILE LICENSE REVOKED,2000,SECURED,ORDER FOR ARREST,0725218501,TRAFFICSPEEDING,500,SECURED,ORDER FOR ARREST
I have a text file that could contain well over 100 entries like this. The really tricky part is this piece:
Court CaseArrest TypeCharge DescriptionBond $ AmountTypeArrest Process
0725218301TRAFFICDRIVING WHILE IMPAIRED4000SECUREDORDER FOR ARREST
0725218401TRAFFICDRIVING WHILE LICENSE REVOKED2000SECUREDORDER FOR ARREST
0725218501TRAFFICSPEEDING500SECUREDORDER FOR ARREST
Because there can be more or less charges and they need to be entered into the DB and tied to the Name. So I am really at a loss as to what to do at this point and could really use some help. Any suggestions?
Name :Smith, John WilliamArrest#: 1349087 1342556 All
AliasID#:351556
DOB:11/04/1976Race/Sex:W/M
Height:5'10"Weight:160
Arrested:01/02/2008
At:20:30By:MSD
Address:1426 Main DR Sometown ST 00000
Charges for Arrest #: 1349087
Court CaseArrest TypeCharge DescriptionBond $ AmountTypeArrest Process
0725218301TRAFFICDRIVING WHILE IMPAIRED4000SECUREDORDER FOR ARREST
0725218401TRAFFICDRIVING WHILE LICENSE REVOKED2000SECUREDORDER FOR ARREST
0725218501TRAFFICSPEEDING500SECUREDORDER FOR ARREST
into a format like this, (which is just a comma delimited file that I will put in a DB):
Smith, John William,1349087,,351556,11/04/1976,W/M,5'10",160,,01/02/2008,,20:30,MSD,1426 Main DR Sometown ST 00000,0725218301,TRAFFICDRIVING WHILE IMPAIRED,4000,SECURED,ORDER FOR ARREST,0725218401,TRAFFIC,DRIVING WHILE LICENSE REVOKED,2000,SECURED,ORDER FOR ARREST,0725218501,TRAFFICSPEEDING,500,SECURED,ORDER FOR ARREST
I have a text file that could contain well over 100 entries like this. The really tricky part is this piece:
Court CaseArrest TypeCharge DescriptionBond $ AmountTypeArrest Process
0725218301TRAFFICDRIVING WHILE IMPAIRED4000SECUREDORDER FOR ARREST
0725218401TRAFFICDRIVING WHILE LICENSE REVOKED2000SECUREDORDER FOR ARREST
0725218501TRAFFICSPEEDING500SECUREDORDER FOR ARREST
Because there can be more or less charges and they need to be entered into the DB and tied to the Name. So I am really at a loss as to what to do at this point and could really use some help. Any suggestions?