How can I retrieve just text (no html tags) from a table?
example:
<P align=center>
<FONT color=red size=3>OP can't figure out this is inappropriate</FONT>
</P>
I want get:
OP can’t figure out this is inappropriate
Using SQL.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You shouldn’t have HTML markup in your database. Are you saying that it has markup now, and you’d like to be rid of it?
I’d change the app to not add HTML markup so you don’t get any more.
Then I’d do a one-shot modification to remove the markup and persist only the text that I wanted.
Your question is quite vague. You might have better luck getting an answer if you edit it and add more detail. What do you want to do?