/(?:\b\s*?\:\s*)((?:[^;]*\".*?\"|[^;]*\'.*?\'|[^;]*)[^;]*)/gJavaScript+110 years ago✓ Pre-loaded
About this regex
Matches a word boundary followed by a colon and captures everything after it up to a semicolon. The capture group handles values containing quoted strings (single or