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...
1
lookahead (and)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
translates regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-1
Street, City, State|State Code, Zip
PCRE (PHP <7.3)
Matches the following format of US address: Street, City, State|State Code, Zip Example: 765757 North Nevada Avenue, Colorado Springs, CO, 80918
Submitted by
Chandan Kumar Sinha
-
9 years ago
0
Find method declarations without parameter types
PCRE (PHP <7.3)
no description available
Submitted by
Iulian Onofrei
-
9 years ago
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
1
...
793
794
795
796
797
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
create
view
[
.
\s\S
]
+
?
[
|
\s\S
]
as
[
|
\s\S
]
/
gm
Open regex in editor
Description
默认是贪婪模式;在量词后面直接加上一个问号?就是非贪婪模式。
Submitted by
anonymous
-
3 years ago