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

72
Vistas
Regex to pick all occurrences of certain word

i want to pick every __custom_field:something on this string

${__active_activity_report/__custom_field:matrix_on_list/__custom_field:matrix_integer}

my best attempt was (\/.*?(custom_field).*\/|) but im failling to catch the case where it doesnt end with a / but with a } , i tried or cases but i might be doing it wrong;

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can use

/__custom_field:\w+/g
/_+custom_field:\w+/g

See the regex demo.

Details:

  • __custom_field: - a fixed string
  • \w+ - one or more letters/digits/underscores.

The _+ part matches one or more underscores (in case you have _custom, __custom, ___custom, etc.)

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