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
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 string
Python
Can process a JSON string
Submitted by
Mass
-
4 years ago
(Last modified 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
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
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
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
JSON trailing comma match
PCRE2 (PHP >=7.3)
Don't rely on this for any serious business, though.
Submitted by
Basix
-
4 years ago
0
Adds JsonPropertyName attribute to class members in a C# class
PCRE2 (PHP >=7.3)
Useful for adding JsonPropertyName to a bunch of class members. Given: ` public string MemberId { get; set; } `...
Submitted by
PatrickV
-
4 years ago
0
muliti json replace
ECMAScript (JavaScript)
replace multi json for vscode
Submitted by
anonymous
-
4 years ago
1
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier
Python
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier. Nexus 9xxxx don't have the json output modifier. It's a LINUX based os, so | json would fork a json binary which doesn't exist
Submitted by
skalef
-
4 years ago
(Last modified 4 years ago)
0
test
PCRE2 (PHP >=7.3)
curl -k https://splunk_ip:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=admin01! curl -k -H "Authorization: Splunk 9d3zIppergQSjJ2C0TPV8PZghZ5fdvZz_GcVihhHLEdbpaZQAttQ10s^joWS_UpKvEbgM4ck9wtN_5wn5xbFZv04nAX9_nQEiVxcf3S" https://splunk_ip:8089/services/sear...
Submitted by
anonymous
-
4 years ago
0
rest api
PCRE2 (PHP >=7.3)
session key 생성 curl -k https://splunk_server_ip:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=admin01! search query curl -k -H "Authorization: Splunk 9d3zIppergQSjJ2C0TPV8PZghZ5fdvZz_GcVihhHLEdbpaZQAttQ10s^joWS_UpKvEbgM4ck9wtN_5wn5xbFZv04nAX9_nQEiVxcf3S" http...
Submitted by
anonymous
-
4 years ago
0
Json键值对提取
PCRE2 (PHP >=7.3)
Json键值对提取
Submitted by
hippopie
-
4 years ago
1
Minify JSON while protecting string value whitespace
PCRE2 (PHP >=7.3)
I use it so that I don't need to worry about formatting when working with unit tests in Kotlin, which means I don't worry too much about whether this is production quality, but it could be useful in other situations where the desire is to strip whitespace from a JSON object while protecting the valu...
Submitted by
anonymous
-
4 years ago
2
object
PCRE2 (PHP >=7.3)
Json Object
Submitted by
anonymous
-
4 years ago
-1
trailing commas remover
PCRE2 (PHP >=7.3)
remove trailing commas on json
Submitted by
anonymous
-
4 years ago
0
Json Starts With Keys
PCRE2 (PHP >=7.3)
Regex for checking if JSON starts with desired keys Useful for validating/filtering database entries when used in combination with SQL Like Example: Postgre: select * from table_name where column_json ~ '^\{[\s]\"(tab1|tab3|tab5)".'
Submitted by
MUA
-
4 years ago
0
Replace Json value with key
PCRE2 (PHP >=7.3)
Find the key and replace it's value.
Submitted by
anonymous
-
4 years ago
1
HTTP Header Content Type Application JSON
ECMAScript (JavaScript)
Useful to check the HTTP content-type as application/json since sometimes people created their own custom content-type on top of JSON.
Submitted by
Yordis Prieto (Alchemist Ubi)
-
4 years ago
0
RegexJSON
PCRE (PHP <7.3)
Json add q
Submitted by
anonymous
-
4 years ago
1
2
3
4
5
...
9