Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

401
Visualizações
Replace Apostrophe (') and Ampersand (&) with HTML Tags

I have a very long string from a database query that I have to provide as an XML file to a third party. I am trying to replace special characters like apostrophe (') with html tag '

This script doesn't throw any error but doesn't replace the characters either.

var str = (vDescription.replace(/'|&/g,function(match){
    return {
            '\'':'\'', 
            '&':'\&'
           }[match]
}));
str = vFormattedDesc;

Sample data (vDescription): The QIS serves as expert & liaison in improvement with the clinical departments related to clinical documentation, clinical monitoring and improvements. Provides leadership in data collection, analysis, presenting the clinical report card at applicable meetings. Serves as a leader and or mentor in the area of Process Improvement for the organization and implementation of PI processes, as needed. Assist with Root Cause Analysis and quality reviews. Responsible for clinical databases with the quality department. Exemplifies the mission, vision and values and acts in accordance with Organizaton’s policies and procedures.

Sample Output: The QIS serves as expert & liaison in improvement with the clinical departments related to clinical documentation, clinical monitoring and improvements. Provides leadership in data collection, analysis, presenting the clinical report card at applicable meetings. Serves as a leader and or mentor in the area of Process Improvement for the organization and implementation of PI processes, as needed. Assist with Root Cause Analysis and quality reviews. Responsible for clinical databases with the quality department. Exemplifies the mission, vision and values and acts in accordance with Organizaton&aposs policies and procedures.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda