Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

293
Vistas
How to decode/replace all charCodes with characters in a string using javascript?

I am using wiris editor within TinyMCE editor in one of my projects.

For some reason I want to replace all charCodes used in content with just character, I know that I can do it for every character 1 by 1 like:

str.replace("&", "&");
str.replace(">", ">");

but content contains hundreds of symbols and I don't want to replace all characters manually. Is there a way to filter the string and replace every charCode with its respective character? e.g. replace <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>&#38;</mo></math> with <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>&</mo></math>

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda