subhashini y

subhashini y

  • 0
  • 22
  • 11.1k

how do i convert rtf text to plain text

Nov 14 2013 7:48 AM
rtf text coming form database like in this format

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}}
\viewkind4\uc1\pard\b\fs20 Dysphagia:\b0 
\par       You are suffering from dysphagia -- a difficulty in swallowing food.  This is due to a narrowing in the esophagus.  Most commonly, it's due to chronic effects of esophagitis (an inflammation of the lower esophagus due to stomach acid, causing symptoms such as chest pain or heartburn).  A hiatal hernia is often present.
\par      Meat and poorly chewed food may stick in the lower esophagus, blocking it.  If this is a recurrent problem, a procedure to dilate the esophagus may be necessary.  If the dysphagia has just begun, further testing to evaluate the cause of the obstruction will be necessary.
\par      Most commonly, the problem will resolve once swelling in the esophagus stops.  Usual treatment is antacids or acid-suppressing medication.  Membrane-coating medicine (such as Carafate), or medicine to keep acid out of the esophagus (such as Reglan) may be helpful for some patients.
\par      Call the doctor or return for re-evaluation if you develop chest pain, fever, shortness of breath, or inability to swallow fluids.
\par }


i need to convert this as normal text

Answers (2)