I'm having problems with an app project I'm working on. I'm parsing text from a wordpress api but it is coming out in html form. Any one knows how to work around this and get it in clean text format?
This is from wordpress side not #appcelerator side ! , you can using wp_strip_all_tags($html)
function to strip all HTML tags including script and style .
But if you are not wordpress coder and you want solve this probelem you can use any javascript
function to strip html tags like :
var StrippedString = OriginalString.replace(/(<([^>]+)>)/ig,"");