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 4,640 community submitted regex patterns...
0
url check
PCRE2 (PHP >=7.3)
check for urls
Submitted by
naxmefy
-
2 years ago
0
Number, Upper, Lower, SpecialChars
PCRE2 (PHP >=7.3)
/^(?=.?[A-Z])(?=.?[a-z])(?=.?[0-9])(?=.?[#?!@$%^&-]).$/gm
Submitted by
anonymous
-
2 years ago
0
alphabet and number allowed
PCRE2 (PHP >=7.3)
/^(?=.?[a-zA-Z])(?=.?[0-9])/gm
Submitted by
anonymous
-
2 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
-
2 years ago
0
Port range validation
PCRE2 (PHP >=7.3)
Regex to match tcp/udp port and range. Comma can be used as delimiter
Submitted by
anonymous
-
2 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
-
2 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
-
2 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
-
2 years ago
0
Coordinates Validation
PCRE2 (PHP >=7.3)
This is for validating coordinates
Submitted by
anonymous
-
2 years ago
0
thx hjpotter
PCRE2 (PHP >=7.3)
Thanks
Submitted by
hjpotter92
-
2 years ago
1
Parse URLs
Python
A regular expression to parse URLs. Complete with comments.
Submitted by
D. Torres
-
2 years ago
0
Glue
PCRE2 (PHP >=7.3)
Join separate words together! Joinseparatewordstogether!
Submitted by
Mendel Groner
-
2 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
-
2 years ago
0
Octal regex
PCRE2 (PHP >=7.3)
Octal regex
Submitted by
anonymous
-
2 years ago
0
hexadecimal
PCRE2 (PHP >=7.3)
Hexadecimal regex
Submitted by
anonymous
-
2 years ago
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
-
2 years ago
0
remove ending a's
PCRE2 (PHP >=7.3)
here we have removed the a's at the end of each line
Submitted by
anonymous
-
2 years ago
0
get domain from url
Python
From link Get domain from url start with: http, https, www, or abc:abc.google.com
Submitted by
anonymous
-
2 years ago
0
Вся строка начиная со слова
PCRE2 (PHP >=7.3)
а
Submitted by
anonymous
-
2 years ago
0
comic script seperate PANEL, DIALOG, action div class
PCRE2 (PHP >=7.3)
orignal question and image: https://www.reddit.com/r/regex/comments/q8igd4/how_can_i_group_the_second_green_group_end_of/hgpydig/?context=3
Submitted by
anonymous
-
2 years ago
1
...
113
114
115
116
117
...
232
Form Tag
5
Regular Expression
Python
r"
(
(?!
\[
)
\w
+
(?=
\]
)
)
"
gi
Open regex in editor
Description
Form Tag
Submitted by
Jay Patel
-
8 years ago