Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-12-21 13:30
Updated·2021-12-21 13:32
Flavor·PCRE2 (PHP)

/
\"asento\": ((?:(?!(\"vasen\"|\"oikea\")).)*),\s*$
/
gm
Open regex in editor

Description

Use this regular expression if you search through a big JSON file and you are looking whether a specific key holds any value different than the ones given.

Submitted by Sebastian Zander