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 4,780 community submitted regex patterns...
0
Number, Upper, Lower, SpecialChars
PCRE2 (PHP >=7.3)
/^(?=.?[A-Z])(?=.?[a-z])(?=.?[0-9])(?=.?[#?!@$%^&-]).$/gm
Submitted by
anonymous
-
3 years ago
0
alphabet and number allowed
PCRE2 (PHP >=7.3)
/^(?=.?[a-zA-Z])(?=.?[0-9])/gm
Submitted by
anonymous
-
3 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
-
3 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
-
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
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
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
Coordinates Validation
PCRE2 (PHP >=7.3)
This is for validating coordinates
Submitted by
anonymous
-
3 years ago
0
thx hjpotter
PCRE2 (PHP >=7.3)
Thanks
Submitted by
hjpotter92
-
3 years ago
1
Parse URLs
Python
A regular expression to parse URLs. Complete with comments.
Submitted by
D. Torres
-
3 years ago
0
Glue
PCRE2 (PHP >=7.3)
Join separate words together! Joinseparatewordstogether!
Submitted by
Mendel Groner
-
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
Octal regex
PCRE2 (PHP >=7.3)
Octal regex
Submitted by
anonymous
-
3 years ago
0
hexadecimal
PCRE2 (PHP >=7.3)
Hexadecimal regex
Submitted by
anonymous
-
3 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
-
3 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
-
3 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
-
3 years ago
0
Вся строка начиная со слова
PCRE2 (PHP >=7.3)
а
Submitted by
anonymous
-
3 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
-
3 years ago
0
Another WordPress Classified Plugin Date Conversion
PCRE2 (PHP >=7.3)
Convert your date from yyyy-mm-dd to mm/dd/yyyy and your time from hour:minute:second to hour:minute. You can manipulate the data further with your own function.
Submitted by
anonymous
-
3 years ago
1
...
123
124
125
126
127
...
239
Community Library Entry
0
Regular Expression
Python
r"
(?P<nom>
^
[
\w\d
]
?
)
\/
(?P<latfield>
(?P<latflag>
[
NS
]
)
(?P<latval>
\d
{1,2}
d
[
0
-
5
]
\d
?
(
\.
\d
*
)?
)
)
\/
(?P<lonfield>
(?P<lonflag>
[
EW
]
)
(?P<lonval>
[
01
]
?
\d
{1,2}
d
[
0
-
5
]
\d
?
(
\.
\d
*
)?
)
$
)
"
s
Open regex in editor
Description
Text fields describing a name and positions
Submitted by
bruno.piguet@meteo.fr
-
11 years ago