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,640 community submitted regex patterns...
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
-
3 years ago
0
Length > 4 chars
Java 8
Accounts for any character 4 times and not 'null'
Submitted by
anonymous
-
3 years ago
0
lua_pattern
Python
lua file name
Submitted by
anonymous
-
3 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
-
3 years ago
0
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
3 years ago
0
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
3 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
-
3 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
-
3 years ago
(Last modified a year ago)
0
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
3 years ago
0
Extract VK.com community ID
Python
Extract the numerical ID of a VK Commmunity fromit's wall url.
Submitted by
anonymous
-
3 years ago
0
String length pattern
Golang
Simple search of string length with the regexp
Submitted by
anonymous
-
3 years ago
0
Postcode (UK)
Python
Detects UK postcodes (minimal edge cases)
Submitted by
anonymous
-
3 years ago
0
PO Number
Python
Detects specific prefixes followed by number series
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Credit Note
Python
Detects specific word in a sentence
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
dice thing
Python
Stuff for a dnd thing
Submitted by
Cata
-
3 years ago
0
完形填空
Python
完形填空
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
恩更
Python
非法发
Submitted by
anonymous
-
3 years ago
0
CPF|CNPJ
Python
Match Brazilian documents
Submitted by
Bacco
-
3 years ago
0
Something...
Java 8
Look for all entries of a country on a list that can have repeated values
Submitted by
anonymous
-
3 years ago
1
...
26
27
28
29
30
...
132
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?<code>
\+
?
\d
{1,3}
)
[
-
\s
]
{0,}
(?<number>
\(
?
\d
{3}
\)
?
[
-
\s
]
{0,}
\d
{3}
[
-
\s
]
{0,}
\d
{2}
[
-
\s
]
{0,}
\d
{2}
)
$
"
gm
Open regex in editor
Description
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
2 years ago