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
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 18,000 community submitted regex patterns...
0
Ignore SITE.tumblr.com EXCEPT static, cdn, and a custom one
PCRE2 (PHP >=7.3)
Customise it to fit your needs
Submitted by
TheTechRobo
-
3 years ago
0
Changelog commit template
Golang
Changelog commit template
Submitted by
anonymous
-
3 years ago
0
Commafication (this BREAKS ON APPLE DEVICES!!!!)
ECMAScript (JavaScript)
Commafy any number! 30000 = 30,000 303123 = 303,123 999888777 = 999,888,777
Submitted by
Mendel Groner
-
2 years ago
0
hexadecimal
PCRE2 (PHP >=7.3)
Hexadecimal regex
Submitted by
anonymous
-
3 years ago
0
Octal regex
PCRE2 (PHP >=7.3)
Octal regex
Submitted by
anonymous
-
3 years ago
0
Indian RTO
ECMAScript (JavaScript)
RTO code for validation
Submitted by
Rama
-
3 years ago
0
Keep only domain and protocol it present.
PCRE2 (PHP >=7.3)
Keep only domain and protocol it present.
Submitted by
EcoTechie
-
3 years ago
0
Select LIMIT-OFFSET clause in SQL query
ECMAScript (JavaScript)
Select the LIMIT/OFFSET clause of an SQL query
Submitted by
Matthew Marcus
-
3 years ago
0
Unordered list between text in markdown
PCRE2 (PHP >=7.3)
This regex matches with an unordered list between different kinds of text displayed in markdown
Submitted by
anonymous
-
3 years ago
0
Minimum words
ECMAScript (JavaScript)
change the ending {5,} to {x,} with x being minimum words
Submitted by
anonymous
-
3 years ago
0
Glue
PCRE2 (PHP >=7.3)
Join separate words together! Joinseparatewordstogether!
Submitted by
Mendel Groner
-
3 years ago
0
Encontrar los caracteres que habría que eliminar para convertir una cadena en un número decimal completo o por completar.
PCRE (PHP <7.3)
Encontrar cada carácter que cumplan alguna de las siguientes condiciones: No es un dígito ni un punto ni un signo menos. Un signo menos que no es el primer carácter de la cadena. Un punto después del cual se puede encontrar otro punto.
Submitted by
Jorge Gómez Prada
-
3 years ago
0
thx hjpotter
PCRE2 (PHP >=7.3)
Thanks
Submitted by
hjpotter92
-
3 years ago
0
Coordinates Validation
PCRE2 (PHP >=7.3)
This is for validating coordinates
Submitted by
anonymous
-
3 years ago
0
繼續畫記 bug
ECMAScript (JavaScript)
fix 繼續畫記 can not merge overlap tag bug: // failed case: <*認知/自殺與憂鬱_3*>之前我的朋友</*認知/自殺與憂鬱_3*>生了什麼病現在她都好了還硬要給這什麼預後的藥她說對<*認知/自殺與憂鬱_3*>成分會過敏也</*認知/自殺與憂鬱_3*>沒有避開想害人也不是這樣還是對沒生病的地方開藥她已經身<*認知/自殺與憂鬱_3*>材在一天內</*認知/自殺與憂鬱_3*> // in this case, it'll have matched group: // part1: <*認...
Submitted by
anonymous
-
3 years ago
0
Match password
Python
Requirements: At least one lower and one upper case letter At least one digit or special character
Submitted by
anonymous
-
3 years ago
0
Match word or phrase not preceded by another word or phrase
PCRE2 (PHP >=7.3)
Modified from this StackOverflow answer, this Regex matches a word or phrase which is not preceded by another word or phrase
Submitted by
anonymous
-
3 years ago
0
Friendzymes: dna-annotate github action example
Golang
Example input-pattern for the Friendzymes GitHub Action dna-annotate.
Submitted by
Friendzymes Team
-
3 years ago
0
Html Color Regex
ECMAScript (JavaScript)
This Regex can be used to validate the different format of colors in the HTML
Submitted by
Pranomvignesh
-
3 years ago
0
Our Box # Format Reader/Checker
PCRE2 (PHP >=7.3)
This is used to check and grab parts from our box # format at our production facility.
Submitted by
edp9884
-
3 years ago
1
...
452
453
454
455
456
...
900
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(
(
http
[
s
]
?
\:
)
\/\/
)?
(
[^
\?\:\/
#
]
+
)
(
\:
(
[
0
-
9
]
+
)
)?
(
\/
[^
\?\#
]
*
)?
(
\?
(
[^
#
]
*
)
)?
(
#
.
*
)?
/
i
Open regex in editor
Description
Parses a URL to the different parts
Submitted by
AmitK
-
10 years ago