Regular Expressions 101

Object Value JavaScript

Open Workspace
  • JavaScript
  • Match
1

Regular Expression

/
"(.*?[^"])"
/
g

Description

Get object values in javascript. Get results with "$1".

Example: myObject.replace(/"(.*?[^"])"/g, "$1")

Submitted by zazer