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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 14,880 community submitted regex patterns...
0
Procurar por IPv4
Python
Match em um IPv4 válido
Submitted by
anonymous
-
2 years ago
0
Find lines with more than two dots
ECMAScript (JavaScript)
more than two dots
Submitted by
Leonard Deutsch
-
2 years ago
0
TCN Match
Python
Extract info about STP TCNs
Submitted by
anonymous
-
2 years ago
0
img html tag to xml
ECMAScript (JavaScript)
img html tag to xml Make sure it is an img tag before proceed
Submitted by
anonymous
-
2 years ago
0
MAC Address
Python
Simple MAC address match/parsing expression
Submitted by
cwichel
-
2 years ago
0
urn_path_splitting
Python
split a URN with one or more parts separated by colon
Submitted by
anonymous
-
2 years ago
0
Check password
PCRE (PHP <7.3)
Checks that a password has a minimum of 8 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number.
Submitted by
letrongtanbs
-
2 years ago
0
Pesquisar CPF com máscara
Python
Achar o CPF com mascara em um documento PDF.
Submitted by
anonymous
-
2 years ago
0
Parse html tag attributes into key:value pairs
ECMAScript (JavaScript)
([a-zA-Z\//]){0}\s(?[a-zA-Z]+)=?("(?[A-Za-z\d\s;:.\-\/\\%]*)")?
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
URL Validation JS
ECMAScript (JavaScript)
Domain can be an IP address, except 0.0.0.0 Domain with length of 1 accepted Only acceptable symbol in Domain is "-" (hyphen) Not allowed in start, end or twice in a row (same for "." (dot))...
Submitted by
Artur
-
2 years ago
(Last modified 2 years ago)
0
Phone # Validation
ECMAScript (JavaScript)
This recognizes phone numbers, including country codes if they're present.
Submitted by
Phoenix Staley
-
2 years ago
0
Tiktok video regex
Python
Extract the id only from the necessary and supported links oembed tool provided by tiktok to embed these videos
Submitted by
Oscar David Garces Gomez - FB@soyvillareal
-
2 years ago
0
Thai citizen
PCRE (PHP <7.3)
rule for parse thai citizen card
Submitted by
socool
-
2 years ago
0
Thai credit card
PCRE (PHP <7.3)
rule for parse thai credit card
Submitted by
socool
-
2 years ago
0
Thai car register
PCRE (PHP <7.3)
rule for thai registered car
Submitted by
socool
-
2 years ago
0
Simple password validator
ECMAScript (JavaScript)
verify that a password string is from length 8 - 16, while allowing word and non-word characters.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
scrape pdf
Python
get data from pdf
Submitted by
anonymous
-
2 years ago
0
Meh
Python
d
Submitted by
anonymous
-
2 years ago
0
Find WikiRace baseURL
ECMAScript (JavaScript)
https://github.com/d-k-bo/WikiRace
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Token Delimiter
PCRE (PHP <7.3)
Token Delimiter
Submitted by
anonymous
-
2 years ago
1
...
712
713
714
715
716
...
744
REMOVE INSIDE STRING OF BRACKET EXCEPT BRACKET INSIDE OF IT
1
Regular Expression
PCRE (PHP <7.3)
/
(
{
\n\s
*
)
(?:
[^
}{
]
*
)
(
\n\s
*
{
)
/
gim
Open regex in editor
Description
REMOVE INSIDE STRING OF BRACKET EXCEPT BRACKET INSIDE OF IT
Submitted by
Momar
-
8 years ago