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 volver a emparejar la primera palabra o '(' la primera palabra al principio

str = "buscar().nodos() como n3" ==> encontrar
str = "con n1,n2,n3" ===> con

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

Use la match de cadenas con el patrón de expresión regular ^\w+ :

 var inputs = ["find().nodes() as n3", "with n1,n2,n3"]; inputs.forEach(x => console.log(x + " => " + x.match(/^\w+/)));

about 4 years ago · Santiago Gelvez Report
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!