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...
0
Tizen Package ID Requirements
ECMAScript (JavaScript)
These are the requirements for a Tizen Pacakge ID of type applicationIdType This type expects pattern '[0-9a-zA-Z]{10}.{1,52}'
Submitted by
sherwino
-
3 years ago
0
match street address
PCRE (PHP <7.3)
match street address with no more than 6 numbers and no special characters
Submitted by
anonymous
-
3 years ago
0
Any mobile number extraction
Python
extracting mobile number along with country code
Submitted by
anonymous
-
3 years ago
0
Email id extraction
Python
extracting email id from given string
Submitted by
anonymous
-
3 years ago
0
域名规则
ECMAScript (JavaScript)
域名规则
Submitted by
anonymous
-
3 years ago
0
中英文、数字、全角符号的验证正则
PCRE2 (PHP >=7.3)
匹配中、英文、数字、全角符号,破折号和下滑线,不匹配除了这些以外的其他字符
Submitted by
nihuge
-
3 years ago
0
Regax for validate any variable string
PCRE2 (PHP >=7.3)
Regax for validate any variable string
Submitted by
Chandan
-
3 years ago
0
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
3 years ago
0
Parse m3u8 IPTV playlist
PCRE2 (PHP >=7.3)
$1 or $channel = channel name $2 or $bullshit = text to ignore $3 or $url = channel url "HD" inside of `` group is search string to find all channels (with their urls) which names contain it. Feel free to play around with it.
Submitted by
https://axenov.dev
-
3 years ago
0
css class
PCRE (PHP <7.3)
css class
Submitted by
anonymous
-
3 years ago
0
mac address validation
PCRE2 (PHP >=7.3)
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
3 years ago
0
Parsing text between '[' and ']' unlimited number of times
Python
Using capturing group to match any text between [ and ] Test string '([Total Revenue] + [COGS] + [Distribution Costs] + [Sales Force Costs] + [A&P Costs] + [NDA Affairs Costs] + [Other Operating Costs]) * - [NDA share]'
Submitted by
anonymous
-
3 years ago
0
cpf
PCRE2 (PHP >=7.3)
regex cpf
Submitted by
vcatafesta@gmail.com
-
3 years ago
(Last modified 3 years ago)
0
SAFE Parsing
Python
Parsing data in SAFE text file
Submitted by
anonymous
-
3 years ago
0
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
3 years ago
0
提取js中的内容
Python
获取变量值等
Submitted by
anonymous
-
3 years ago
0
Package from Site
PCRE2 (PHP >=7.3)
Package from Site
Submitted by
anonymous
-
3 years ago
0
Procurar por IPv4
Python
Match em um IPv4 válido
Submitted by
anonymous
-
3 years ago
0
Find lines with more than two dots
ECMAScript (JavaScript)
more than two dots
Submitted by
Leonard Deutsch
-
3 years ago
0
-ltr --time-style='+%s'
PCRE2 (PHP >=7.3)
-ltr --time-style='+%s'
Submitted by
anonymous
-
3 years ago
1
...
439
440
441
442
443
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
\b
(
[
\w
$
]
+
(
\(
[^
()
]
*
(
\(
[^
()
]
*
\)
[^
()
]
*
)*
\)
|
\[
[^
\[\]
]
+
\]
)?
\.
)+
(?:
host
|
hostname
|
href
|
protocol
|
origin
|
port
)
\b
/
gm
Open regex in editor
Description
该正则表示对的是匹配location对象下的 host、hostname、href、protocol、origin、port 属性前对象匹配, 例如匹配:
a.href
location.href
getTop().location.href
Submitted by
anonymous
-
6 years ago