Hello, I have HTML text in which i have to find and replace particular word. Problem is if i want to find word "Cough,"(Cough along with comma)and if this word is formatted as BOLD then the HTML text is <strong>Cough</strong>,Fever Then how can I find internally in my code the word "Cough," and replace it with blank value i.e Remove The word "Cough,"
|
| Author: Kirtan 08 Nov 2009 | Member Level: Silver | Rating:  Points: 2 |
its Simple
string HTML = "<strong>Cough,</strong>";
HTML = HTML.Replace("Cought,",string.Empty);
Kirtan Patel ----------------------------------------------------- Master Of Computer Application(Sem-1) Bachelore of Computer Application
|