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

119
Vistas
Parsing Email in proper format from Web Speech API Transcript

I am using web speech API in chrome to get a string (transcripts) I want it to be able to parse emails as example@gmail.com not example at the rate gmail.com can we transform it to expected output using Regex or any kind of alternative?

Current output from voice (not useful)

David at the rate gmail.com
David at Gmail.com
Stacy at the rate gmail.com
Stacy at Gmail.com

Expected output to be (will be useful)

David@gmail.com
Stacy@gmail.com
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

First split the string into an array of lines and then only select the lines with "at the rate"

let lines = emailstring.split('\n');
for( i = 0; i < lines.length ; i += 2 ) lines[i] =  lines[i].replace(" at the rate ", "@");
console.log(lines);

The splitting of the string into lines can also be done with regex.

about 4 years ago · Juan Pablo Isaza Denunciar
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