The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-25-2008
bala041 bala041 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 3
Help to extract the content in this string

Hi All,

I have a string in the following format:
"kf skjgsdjgngnsd sdgsd

ksjgbksjgb kjsbgsjdgb
dfhdh

sjgsjg j jsbekgjsbdkgj".

In this format i want to extract the contents which is in between the two empty lines: i.e, i want to extract the following
"ksjgbksjgb kjsbgsjdgb
dfhdh ".

Please help me in this. Thanks in advance.

Regards,
Bala