Regular Expressions 101

Library entries

json key value finder

Vote

1

Regular Expression
pcre

/
(?:\"|\')(?<key>[^"]*)(?:\"|\')(?=:)(?:\:\s*)(?:\"|\')?(?<value>true|false|[0-9a-zA-Z\+\-\,\.\$]*)
/
gm

Description

Loading markdown...
Submitted by amlang - 6 years ago