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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 11,520 community submitted regex patterns...
0
Something...
Java 8
Look for all entries of a country on a list that can have repeated values
Submitted by
anonymous
-
2 years ago
0
CPF|CNPJ
Python
Match Brazilian documents
Submitted by
Bacco
-
2 years ago
0
恩更
Python
非法发
Submitted by
anonymous
-
2 years ago
0
完形填空
Python
完形填空
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
dice thing
Python
Stuff for a dnd thing
Submitted by
Cata
-
2 years ago
0
PO Number
Python
Detects specific prefixes followed by number series
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Credit Note
Python
Detects specific word in a sentence
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Postcode (UK)
Python
Detects UK postcodes (minimal edge cases)
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
0
使用した正規表現
PCRE (PHP <7.3)
用例の検索のために使用した正規表現です。
Submitted by
anonymous
-
2 years ago
0
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
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 9 months ago)
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
2 years ago
0
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
2 years ago
0
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
2 years ago
(Last modified 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
Extraire les informations du chemin d'une photo
PCRE (PHP <7.3)
Extraire les informations du chemin d'une photo.
Submitted by
Nicolas
-
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
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
1
...
553
554
555
556
557
...
576
Alternative With Capture Groups
-1
Regular Expression
Python
r"
(
\s
*
-en
)
$
|
(
\s
*
-en-us
)
$
|
(
\s
*
-us
)
$
"
Open regex in editor
Description
Capture alternative items matching end of lines country codes
Submitted by
Branden
-
9 years ago