How do you strip (HTML) tags from a String in Flex 4.5 / 4.6?
Share
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.
I don’t think there’s an inbuilt function to strip the tags like in php.
However, you could use a regular expression to remove all text between
<and>I gotta run now, but if you could follow my line of thought:
While the string tests positive for the regexp, replace the occurrence with an empty string
That should remove all occurrences of this type:
EDIT
OUTPUT: