I have exported two fields ID ( viz, ID and Data) from mySql. ID is a integer and Data is a mediumtext.
nearly 500 records. One sample record is shown below between the >>>>>>> and <<<<<<< marks.
I want to extract the following :
1) the first line till the word Tel:
Pan, Surana (Last update: 7 Jan 2008) Blk 352, St 33 ,05#488, Central Java, Java, 520352,Java, Java Email: Suranathazinpan@yahoo.com.
sg Tel: 65--98692295 (Current)
2) The personal details
PERSONAL DETAILS: Passport No. : 256516 Date of Birth : January 14, 1977 Gender : Female Marital Status : Single Nationality : Myanmar Race/Religion : Kayin/Christian Availability : Able to start work immediately Expected Salary : Negotiable
and
3) Capture the record number which is the last word in the record.
In the example its 39.
I dont need the rest of the information.
How this could be done in Linux or windows ?
Any detailed pointersor general guide lines, how to get a resolve would be appreciated.
>>>>>
Pan, Surana (Last update: 7 Jan 2008) Blk 352, St 33 ,05#488, Central Java, Java, 520352,Java, Java Email: Suranathazinpan@yahoo.com.
sg Tel: 65--98692295 (Current) Employment History 1. Derma-Rx (Asia Pacific) Pte Ltd Duration : 1 Nov 2007 - To Date (0 year and 2 months) Position Title (Level) : Junior Secretary (Non-Executive) Specialization : Advertising/Media Planning Industry : Others Salary : - Work Description : Educational Background Advanced/Higher/Graduate Diploma (Graduated Oct 2007) Field of Study : Finance/Accountancy/Bankin
g Major : - Institution/College : Java Institute of Commerce Grade : Pass/Non-gradable Skills (Proficiency: Advanced - Highly experienced; Intermediate - Familiar with all the basic functionalities; Beginner - Just started using or learning the skill) Proficiency Skill (Years of Experience) Languages (Proficiency: Best = 10 Worst = 1) Language Spoken Written English 5 5 Personal Particulars Age : 31 Date of Birth : 14 Jan 1977 Nationality : Myanmar Permanent Residence : Java Gender : Female Preferences Expected Monthly Salary : S$ 1800 (Negotiable) Availability : Immediately after notice period of 0 month(s) Miscellaneous Additional Information : Ms. Naw Surana Blk 352# 05-488, Street 33, Tampanies Java 520352 Mobile: 9459 3295, Home: 6783 5864, E-Mail: Suranathazinpan@yahoo.com OBJECTIVE : Application for long term position job PERSONAL DETAILS: Passport No. : 556519 Date of Birth : January 14, 1977 Gender : Female Marital Status : Single Nationality : Myanmar Race/Religion : Kayin/Christian Availability : Able to start work immediately Expected Salary : Negotiable WORK HISTORY : Derma-Rx (Asia Pacific) Pte Ltd Medispa November 2007 till now Junior Secretary Assist to Assistant Director Performing Secretarial & Clerical duties Handling Daily Sales Aid Medical International - Myanmar Humanitarian Organization (French NGO) November 2004 January 2007 Medical Secretary Assist to Country Medical Ct Training Course Certificate in Bookkeeping & Accounts (LCCI Level 2) Intensive English Training Course Front Office Management Course LANGUAGE: Fluent in English (Both Spoken and Written) Javanese (Native Language) Applicant's Signature Surana ThaZin Pan
39
<<<<
End of record 39.
thank you.
Asidu
Start Free Trial