Replace html pattern to the below line
@"<(.|\n)*?>"
Object
<% #Regex.Replace("Your String/ Your Text / Your DB Value" , html pattern, string.Empty)%>
Live usage
<%#Regex.Replace(DataBinder.Eval(Container.DataItem, "descriptionVal").ToString(), @"<(.|\n)*?>", string.Empty) %>
I hope it helps you allot
Regards
Rashid Imran Bilgrami
CEO
Best visualization
http://www.bestvisualization.com
@"<(.|\n)*?>"
Object
<% #Regex.Replace("Your String/ Your Text / Your DB Value" , html pattern, string.Empty)%>
Live usage
<%#Regex.Replace(DataBinder.Eval(Container.DataItem, "descriptionVal").ToString(), @"<(.|\n)*?>", string.Empty) %>
I hope it helps you allot
Regards
Rashid Imran Bilgrami
CEO
Best visualization
http://www.bestvisualization.com
Comments
Post a Comment
Thanks for the Comments , Your review will display soon