locked
Remove HTML tags from rich texbox RRS feed

  • Question

  • User115974766 posted

    I'm using the CKEditor rich textbox control in a web application to allow users to enter multiple lines of text.  I would like remove the HTML tags from the entered text before saving the information to the database.  Does anyone know of a way to remove HTML tags from a string before saving to the database?

    Ex.

    Original string
    <P> This is a test</P>
    
    Desired string
    This is a test



    Wednesday, July 13, 2016 2:47 AM

All replies