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,040 community submitted regex patterns...
1
Keyboard key parser
PCRE (PHP <7.3)
Parse Keyboard keys from string Like ctrl+a matches ctrl and a in one group This supports complex strings
Submitted by
Jérémy Munsch <jeremy.munsch@gmail.com>
-
9 years ago
0
Regex json
Python
no description available
Submitted by
anonymous
-
9 years ago
1
filter range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
TFS Forbidden Pattern web.config file Check-In Policy
PCRE (PHP <7.3)
TFS Forbidden Pattern web.config file Check-In Policy
Submitted by
Riaan de Lange
-
9 years ago
0
select internal special chars
PCRE (PHP <7.3)
select all special chars inside a world/sentence
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
test
Submitted by
umesh
-
9 years ago
1
Matching comma separated with pattern
PCRE (PHP <7.3)
Matching comma separated fields with pattern
Submitted by
anonymous
-
9 years ago
1
US Ham Radio licenses
ECMAScript (JavaScript)
no description available
Submitted by
Joshua Carroll
-
9 years ago
1
Ebay item id from URL
PCRE (PHP <7.3)
no description available
Submitted by
Nanodev Limited
-
9 years ago
0
Squid access.log
PCRE (PHP <7.3)
cut/paste into fluentd/td-agent config
Submitted by
HoBoJo
-
9 years ago
1
Basic email validation
PCRE (PHP <7.3)
A basic and rude email validation
Submitted by
Yemolai
-
9 years ago
-2
Brazillian Telephone Number validator
PCRE (PHP <7.3)
A basic validator for BR phone numbers
Submitted by
Yemolai
-
9 years ago
1
password complexity
PCRE (PHP <7.3)
At least one lower case, upper case and digit, at least 10 chars
Submitted by
anonymous
-
9 years ago
1
Youtube Regex
PCRE (PHP <7.3)
To get video id from different formats
Submitted by
bux
-
9 years ago
1
Match first PMID
PCRE (PHP <7.3)
When encountering more than 1 pmid, make sure to return the first one
Submitted by
agreco13
-
9 years ago
0
ISO 8601 Dates
PCRE (PHP <7.3)
Regex supporting all formats of ISO 8601 dates (with timezone and microseconds) that are compatible with PHP DateTime constructor and strtotime.
Submitted by
mjolnic
-
9 years ago
0
find a string (placeholder) inside a string
Python
find a string (placeholder) inside a string
Submitted by
vikash Kumar Agarwal (vikashmnk)
-
9 years ago
1
Password Complexity Requirement RegEx
PCRE (PHP <7.3)
^ # start-of-string (?=.*[0-9]) # a digit must occur at least once (?=.*[a-z]) # a lower case letter must occur at least once (?=.*[A-Z]) # an upper case letter must occur at least once (?=.*[@#$%^&+=]) # a special character must occur at least once (?=\S+$) ...
Submitted by
http://stackoverflow.com/users/18771/tomalak
-
9 years ago
3
Get bad iframe (with white-list)
PCRE (PHP <7.3)
In (?!www.youtube.com\/|youtube.com\/|player.vimeo.com\/) u can add good sites for iframes: www.youtube.com/ player.vimeo.com/
Submitted by
Resager
-
9 years ago
1
redirect to https and non www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
795
796
797
798
799
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
\d
+
px
/
g
Open regex in editor
Description
查找替换
Submitted by
anonymous
-
a year ago