Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
Cómo obtener esos enlaces que no tienen href=" con ellos

Tengo una expresión regular para obtener el enlace de Spotify del texto y reemplazarlos con el iframe para representar el iframe en la interfaz de usuario.

El tema ahora si algún ancla

 <a href="https://open.spotify.com/episode/0xmdIsJ28Pwix7MOKcK3Zv?si=50957b8039154544">Link</a>

Al igual que esto contiene el enlace, también lo está seleccionando, pero solo debo elegir el enlace si no está en el atributo.

Aquí está mi expresión regular actual

 /(https:\/\/open.spotify.com\/track\/|spotify:user:spotify:playlist:)([a-zA-Z0-9]+)(.*)/gi
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!