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

285
Vistas
Javascript string modifications with replace(), join(), split() and regex

I am looking for help to reconstruct the following strings : rawIdColumn into Raw Id and the same for startDateColumn into Start Date.

The idea is to remove the Column word, capitalize the first letter and add a space between the 2 words.

My progress so far :

word1 = rawIdColumn

word2 = startDateColumn

word1.replace("Column", "").split(/[A-Z]/g).join(" ") ---> Output = raw d

word2.replace("Column", "").split(/[A-Z]/g).join(" ") ---> Output = start ate

Split is removing the capital letter from the second word , but I want to keep it.

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