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,020 community submitted regex patterns...
1
File extension
ECMAScript (JavaScript)
Retrieve the file extension of a filename
Submitted by
anonymous
-
2 years ago
0
-ltr --time-style='+%s'
PCRE2 (PHP >=7.3)
-ltr --time-style='+%s'
Submitted by
anonymous
-
2 years ago
0
Find lines with more than two dots
ECMAScript (JavaScript)
more than two dots
Submitted by
Leonard Deutsch
-
2 years ago
0
Procurar por IPv4
Python
Match em um IPv4 válido
Submitted by
anonymous
-
2 years ago
0
Package from Site
PCRE2 (PHP >=7.3)
Package from Site
Submitted by
anonymous
-
2 years ago
0
提取js中的内容
Python
获取变量值等
Submitted by
anonymous
-
2 years ago
2
US Social Security Number
PCRE2 (PHP >=7.3)
Finds a number that is 9 digits long. Can have spaces or hyphens in between the numbers and will still be found
Submitted by
anonymous
-
2 years ago
1
13-16 digit credit card
PCRE2 (PHP >=7.3)
Finds a number that is 13-16 digits long. Can have spaces or hyphens in between the numbers and will still be found.
Submitted by
Spencer Curtis
-
2 years ago
(Last modified 2 years ago)
0
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
2 years ago
1
HTML TAG WITH VALUE AND CHILDREN
ECMAScript (JavaScript)
This regex target each html tag with their children and their value
Submitted by
Florian Caron
-
2 years ago
0
SAFE Parsing
Python
Parsing data in SAFE text file
Submitted by
anonymous
-
2 years ago
0
cpf
PCRE2 (PHP >=7.3)
regex cpf
Submitted by
vcatafesta@gmail.com
-
2 years ago
(Last modified 2 years ago)
1
Codeblocks
ECMAScript (JavaScript)
Combat md.replace(regex, "") and md.replace("`", "") to replace Markdown codeblocks with HTML ones
Submitted by
Rix
-
2 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
-
2 years ago
0
mac address validation
PCRE2 (PHP >=7.3)
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
2 years ago
0
css class
PCRE (PHP <7.3)
css class
Submitted by
anonymous
-
2 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
-
2 years ago
0
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
2 years ago
0
Regax for validate any variable string
PCRE2 (PHP >=7.3)
Regax for validate any variable string
Submitted by
Chandan
-
2 years ago
0
中英文、数字、全角符号的验证正则
PCRE2 (PHP >=7.3)
匹配中、英文、数字、全角符号,破折号和下滑线,不匹配除了这些以外的其他字符
Submitted by
nihuge
-
2 years ago
1
...
137
138
139
140
141
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
[
a
-
zA
-
Z
\<\>
//
]
){0}
\s
(?<name>
[
a
-
zA
-
Z
]
+
)
=
?
(
"
(?<value>
[
A
-
Za
-
z
\d\s
?%&=;_:.
\-\/\\
%
]
*
)
"
)?
/
gm
Open regex in editor
Description
([a-zA-Z<>//]){0}\s(?<name>[a-zA-Z]+)=?("(?<value>[A-Za-z\d\s;:.-/\%]*)")?
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)