javascript regex grouping replace

Solutions on MaxInterview for javascript regex grouping replace by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "javascript regex grouping replace"
Ousmane
22 Feb 2016
1"hello _there_".replace(/_(.*?)_/, "<div>$1</div>")
2