Copy link to clipboard
Copied
Hello,
Please view this string:
var String1:String = "<p>Efficiency and contribute to your bottom line by understanding better what technologies are the best for you. During this hour, you will: • Understand how to optimize the technology you currently use • Learn a methodology to evaluate what technology is the best for your business • Recognize how apps, tools, or programs can increase your personal and professional productivity After registering, you will receive a confirmation email containing information about joining the webinar, as well as a quick survey to assist in assuring the best content for the group.</p>"
What I would like to do this remove all the <p>, </p> and other errors in this string like • and replace them with just blank space ""
What is the best way to do this?
Should I be using Reg Exp or split. join?
A working example would be great, thanks in advance.
Copy link to clipboard
Copied
you're looking for html decoding:
AS3 htmlDecode htmlEncode xml hack | Mark Ledford's Web Dev Blog
Find more inspiration, events, and resources on the new Adobe Community
Explore Now