Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 4,440 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mammars tumour dx
PCRE2 (PHP >=7.3)
identifying mammary tumour diagnosis
Submitted by
Georgia Salmon
-
2 years ago
2021-10-13 15:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex that matches laughter interjections in Spanish
Python
Regex that matches laughter interjections in Spanish
Submitted by
alexcg
-
2 years ago
2021-10-14 05:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Telephone numbers for Spain, national calls. Ver.2
PCRE2 (PHP >=7.3)
It validates the phone numbers for Spain, national calls. Only digit number format, without spaces, dots nor dashes. This second version allows a empty string. OK: 630222544 941641893...
Submitted by
sajime
-
2 years ago
2021-10-14 09:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-10-14 15:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-15 10:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Вся строка начиная со слова
PCRE2 (PHP >=7.3)
а
Submitted by
anonymous
-
2 years ago
2021-10-15 16:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-17 10:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-17 16:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-18 12:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
hexadecimal
PCRE2 (PHP >=7.3)
Hexadecimal regex
Submitted by
anonymous
-
2 years ago
2021-10-18 17:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Octal regex
PCRE2 (PHP >=7.3)
Octal regex
Submitted by
anonymous
-
2 years ago
2021-10-18 18:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Keep only domain and protocol it present.
PCRE2 (PHP >=7.3)
Keep only domain and protocol it present.
Submitted by
EcoTechie
-
2 years ago
2021-11-09 01:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-19 07:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Glue
PCRE2 (PHP >=7.3)
Join separate words together! Joinseparatewordstogether!
Submitted by
Mendel Groner
-
2 years ago
2021-10-19 14:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
thx hjpotter
PCRE2 (PHP >=7.3)
Thanks
Submitted by
hjpotter92
-
2 years ago
2021-10-20 01:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Coordinates Validation
PCRE2 (PHP >=7.3)
This is for validating coordinates
Submitted by
anonymous
-
2 years ago
2021-10-20 08:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-20 15:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-20 23:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-21 16:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2021-10-21 18:42
1
...
97
98
99
100
101
102
103
...
222
LinkedIn regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"""
[
l|L
]
[
i|I
]
[
n|N
]
[
k|K
]
[
e|E
]
[
d|D
]
[
i|I
]
[
n|N
]
(
[
\w
_:=
\s
]
{0,20}
)?
[
''>"
]
{1,3}
(
[
0
-
9a
-
zA
-
Z
]
{16}
)
[
''<"
]
"""
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-08-24 06:48