substring

Dear All,
i have a file that contains,
FROM_DATE: 06-08-2007 00:00:00 TO_DATE: 06-08-2007 23:59:59 Total number of lines: 6874154

in another file,the contain is,

FROM_DATE: 06-08-2007 00:00:00 Total number of lines: 874154

alltime i want to find the particular string Total number of lines:
and want to extract whatever is there after that string. can any body plz help me...

i dont want
grep "Total number of lines:" | cut -f -d
coz the file will never come same...
i want to search for a particular string for any type of file and then want to extract the data after that string

Thnx
regards,
pankaj

Perhaps this

sed -n -e "s/.*Total number of lines: \([0-9][0-9]*\)/\1/p" input.file

Dear Vino,
thnx for ur reply but i have tried its not working...can u provide me more suggestion plz?

Thnx
Regards,
Pankaj

Thank you for trying that solution. But I am helpless if you dont explain what is not working.
Show us what you tried and what you got. Probably I may have missed something in the sed statement.
The only other sed statement I can think of is

sed -n -e "s/.*Total number of lines: \(.*\)/\1/p" input.file

Dear Vino,
thankx...its working

Thanks,
Regards,
Pankaj