Skip to main content
Known Participant
Jun 4, 2015 6:22 PM UTC
Question

replace characters in a string

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: &acirc;&#128;&cent; Understand how to optimize the technology you currently use &acirc;&#128;&cent; Learn a methodology to evaluate what technology is the best for your business &acirc;&#128;&cent; 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 &acirc;&#128;&cent; 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. 

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

kglad
Community Expert
Community Expert
Jun 4, 2015 7:28 PM UTC