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 14,040 community submitted regex patterns...
0
排除特定字符
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
链接巧妙取数字
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Confirmation 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match consecutive 8 identical numbers regardless of any character at start or end with string length between 8 and 20
PCRE (PHP <7.3)
Match 8 or more consecutive digits irrespective of it's position in the string with string length between 8 and 20. ex: 11111111 - match ASD11111111 - match ASD22222222oook - match 777kjoi77777 - no match etc.,
Submitted by
Cyanotrix
-
8 years ago
0
provCode
PCRE (PHP <7.3)
regular expression for Region Code - pcre and js flavors
Submitted by
anonymous
-
8 years ago
0
indian car number plate
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Any 'abc' string with at least one a and one b
Python
Any 'abc' string with at least one a and one b
Submitted by
anonymous
-
8 years ago
0
Timestamp
Python
no description available
Submitted by
anonymous
-
8 years ago
0
parse html h2-3-4 + content in custom [collapse] tags
PCRE (PHP <7.3)
[collapse] tags are replaced with html code attributes
Submitted by
anonymous
-
8 years ago
0
Exclusion
PCRE (PHP <7.3)
exclude word exactly - case insensitive
Submitted by
anonymous
-
8 years ago
0
匹配图片title src
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Generate DependencyProperty (C#, WPF, SilverLight)
PCRE (PHP <7.3)
By: public TypeName PropertyName { get; set; }
Submitted by
Sotin N.U. (VirRus77)
-
8 years ago
0
Javascript comments!
PCRE (PHP <7.3)
Works with single and multi-line
Submitted by
(:
-
8 years ago
0
InfixToPost
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Email Search Regex
PCRE (PHP <7.3)
Finds all email addresses on a page.
Submitted by
anonymous
-
8 years ago
0
Latex Chemical Molecule Identifier
Python
Updated: Identifies chemical formulae written with latex
Submitted by
anonymous
-
8 years ago
0
Latex Chemical formula
Python
Matches chemical formula written with latex, ex: H_2O, C_5H_12, Pb(NO_3)_2
Submitted by
Jingjie Yang
-
8 years ago
0
Capture query test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
替换分组
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Get the name of the image
PCRE (PHP <7.3)
This regex will be getting the name of the image source: data/products/cocacola/logo_new_version.jpg match: logo_new_version It will be returned logo_new_version on image index...
Submitted by
strubloid
-
8 years ago
1
...
464
465
466
467
468
...
702
Community Library Entry
1
Regular Expression
Python
r"
^
(
http
[
s
]
?
:
\/\/
)?
(
[^
:
\/
\s
]
+
)
(
:
(
[^
\/
]
*
)
)?
(
\/
\w
+
\.
)*
(
[^
#?
\s
]
+
)
(
\?
(
[^
#
]
*
)
)?
(
#
(
.
*
)
)?
$
"
i
Open regex in editor
Description
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
10 years ago