Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 180 community submitted regex patterns...
0
Find JSON key with any value except the values given
PCRE2 (PHP >=7.3)
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
-
4 years ago
(Last modified 4 years ago)
0
OpenSubtitles api finds year
PCRE2 (PHP >=7.3)
this regex finds the first year in the json file returned by opensubtitles api
Submitted by
Andrea Canton
-
4 years ago
0
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
4 years ago
0
Extraction of Boolean Status by Object ID (JSON)
PCRE2 (PHP >=7.3)
Extraction of boolean status by object ID from JSON string
Submitted by
Michael S.
-
4 years ago
0
JSON string
Python
Can process a JSON string
Submitted by
Mass
-
4 years ago
(Last modified 4 years ago)
0
json digit
Python
parses a json digit such as: 1, 1.0, -1, -1.0, -1.0E-1, etc.. rejects digits such as: ...
Submitted by
Mass
-
4 years ago
0
JSON array of string
PCRE2 (PHP >=7.3)
\["(.*)"\]
Submitted by
anonymous
-
4 years ago
0
AA find Excel command in script
Python
find Excel command in script based on json
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Script Tag Json
.NET 7.0 (C#)
asd
Submitted by
anonymous
-
3 years ago
0
Snap Regex
PCRE2 (PHP >=7.3)
Pull property names snap Json
Submitted by
anonymous
-
3 years ago
0
Wrap word in json with quotes
PCRE (PHP <7.3)
Wrap word in json with quotes
Submitted by
anonymous
-
3 years ago
0
Amazon AWS Access Key ID (Legacy)
ECMAScript (JavaScript)
{ "Expressions": { "Amazon AWS Access Key ID (Legacy)": { "Expression": "AKIA[0-9A-Z]{16}", "Unit-Tests": [ {...
Submitted by
Jacob Sanders
-
3 years ago
0
extract-json-csv
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
3 years ago
0
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
3 years ago
0
Match token and optional convert to type in string
.NET 7.0 (C#)
I use this in a JSON template together with JObject data to create a JSON string
Submitted by
rkleinkromhof
-
3 years ago
0
json-extract
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
3 years ago
0
C#-ifying classes pasted from JSON
PCRE2 (PHP >=7.3)
When pasting JSON payloads, requests or response as C# classes, the casing of property names is not usually idiomatic C#. This regular expression helps transform the property names while adding System.Text.Json.JsonPropertyName attributes to properties to preserve the original names for serialization.
Submitted by
Gareth James
-
3 years ago
0
4 Groups from JSON
PCRE2 (PHP >=7.3)
4 Groups from JSON
Submitted by
Erik Leiren
-
3 years ago
0
Oauth2 client token matcher
Java 8
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
3 years ago
0
Graphql parser for pretty printing
Python
Parse Graphql queries Changelog (versions): Initial Version 2 is much improved and intended to integrate well with customized highlighting with the help of the awesome Rich library....
Submitted by
iwconfig
-
3 years ago
1
2
3
4
5
6
...
9