Regular Expressions 101

Library entries

Match all parts of the valid JSON

Vote

0

Regular Expression
pcre

/
(?:"(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?|([\{\}\[\]]))
/
g

Description

Loading markdown...
Submitted by Pumbaa80 - 8 years ago