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 2,620 community submitted regex patterns...
0
Procurar por IPv4
Python
Match em um IPv4 válido
Submitted by
anonymous
-
2 years ago
0
提取js中的内容
Python
获取变量值等
Submitted by
anonymous
-
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
0
SAFE Parsing
Python
Parsing data in SAFE text file
Submitted by
anonymous
-
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
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
2 years ago
0
Email id extraction
Python
extracting email id from given string
Submitted by
anonymous
-
2 years ago
0
Any mobile number extraction
Python
extracting mobile number along with country code
Submitted by
anonymous
-
2 years ago
1
HTML Regex
Python
HTML Pattern Recursively use this pattern to match HTML content. This pattern will match Hello World and return a groupdict of tag, body and attribute data. Then you can use this pattern on the body to parse nested HTML tags as well.
Submitted by
GrandMoff100
-
2 years ago
0
Add gcache.size to Galera Cluster node config
Python
Regexp to add gcache.size to Galera cluster config, using Ansible's replace module
Submitted by
Aurelio Llorente
-
2 years ago
0
Length > 4 chars
Java 8
Accounts for any character 4 times and not 'null'
Submitted by
anonymous
-
2 years ago
0
lua_pattern
Python
lua file name
Submitted by
anonymous
-
2 years ago
0
Matching %d-%b date format
Python
Matching %d-%b date format with or without leading 0 in the day
Submitted by
Justin Copeland
-
2 years ago
0
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
2 years ago
0
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
2 years ago
0
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
2 years ago
0
regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS
Python
/(^((\d{4}-(((0[13578]|1)-(0[1-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|1)-(0[1-9]|[1-2]\d|3)))))|((\d{4}-(0[2]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?(+-\d:[0-5]\d)$)/gm
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
2 years ago
0
Extract VK.com community ID
Python
Extract the numerical ID of a VK Commmunity fromit's wall url.
Submitted by
anonymous
-
2 years ago
1
...
25
26
27
28
29
...
131
Community Library Entry
0
Regular Expression
Golang
`
\s
(
[
a
-
zA
-
Z
]
+
://
)*
(
\b
(
[
a
-
zA
-
Z
]
[
\w
-
]
*
\.
){1,3}
[
a
-
zA
-
Z0
-
9
]
+
|
(
\b
(
(
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
|
1
\d\d
|
0
\d\d
|
0
\d
|
\d\d
|
\d
)
\.
){3}
(
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
|
1
\d\d
|
0
\d\d
|
0
\d
|
\d\d
|
\d
)
\b
)
)
(
:
\d
+
)*
(
[
\\\!\"\#\$\%\&\'\(\)\*\+\-\/\:\;\<\=\>\?\@\[\]\^
\`
\{\|\}\~\.
\w
]
)*
(
\,
.
+
\.
[
a
-
z
]
+
)*
`
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago