Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
([^\s:,]+)(?#get field) :[ ]*(?#get separator) ([^,\{\}\n\[\]\s][^,\n]*)(?#get value)
"
gx

Description

Obtem os valores de campo e valor de um JSON. Nao trata arrays, apenas objetos.

Submitted by anonymous - 7 years ago