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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,900 community submitted regex patterns...
1
surnames
Python
italian uppercase surnames
Submitted by
anonymous
-
2 years ago
1
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
2 years ago
1
Only letters, accents and space
Python
Regex that catches everything that is not text (including emotes)
Submitted by
https://www.linkedin.com/in/devfabriciors/
-
2 years ago
1
11位整数含两位小数校验
ECMAScript (JavaScript)
100.00 10000.00 过滤非 0 开头两位小数
Submitted by
yang
-
2 years ago
1
中文匹配
ECMAScript (JavaScript)
本示例启用了多行匹配 m
Submitted by
yang
-
2 years ago
1
phone number middle number parsing
Java 8
middle number parsing regex
Submitted by
anonymous
-
2 years ago
1
js获取url上的参数
ECMAScript (JavaScript)
/(+)=(+)/gm
Submitted by
anonymous
-
2 years ago
1
Find duplicate char in a string
ECMAScript (JavaScript)
it was used in this codewar challenge. and i find i really interesting. Also u can Write it like this if you want /(.)\1+/g it works exactly the same
Submitted by
anonymous
-
2 years ago
1
RegEX IBAN SEPA with spaces
ECMAScript (JavaScript)
RegEX IBAN SEPA with spaces
Submitted by
Karim MB
-
2 years ago
1
Percentage regex
ECMAScript (JavaScript)
Percentage regex allows integer and float values e.g. 10 // valid 12 // valid 12.34 // valid 12.345 // invalid 99.99 // valid...
Submitted by
Ankit Patel
-
2 years ago
1
Regex for url
ECMAScript (JavaScript)
Regex for url
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
2 years ago
(Last modified 2 years ago)
1
Match binary calculator, Operands and Operator
ECMAScript (JavaScript)
Match binary number (0 | 1), with or not Operand (+ | - | / | *)
Submitted by
chuaschinai
-
2 years ago
1
Docker image tag with named groups
ECMAScript (JavaScript)
Named groups, port in registry, sha256
Submitted by
petersamokhin with help from https://stackoverflow.com/questions/39671641
-
2 years ago
1
Select Markdown Text and content
ECMAScript (JavaScript)
This expression selects any square brackets and the content inside it. Exemple: [DataTransfer] []...
Submitted by
innnerception
-
2 years ago
1
Function for LScript
ECMAScript (JavaScript)
RegEx for finding function in LScript programming language
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Function creation in LScript
ECMAScript (JavaScript)
RegEx for finding creation of a function in LScript programming language
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Function argument in LScript
ECMAScript (JavaScript)
RegEx for finding each argument when creating a function in LScript programming language
Submitted by
anonymous
-
2 years ago
1
URL Parts Extractor
ECMAScript (JavaScript)
Extracts parts of an URL into regex groups: ((?:(?:http|ftp|ws)s?|sftp):\/\/?)?(group 1): extracts the protocol (+\.+|localhost)(group 2): extracts the hostname (:\d+)?(group 3): extracts the port number ((?:\/\w+)\/)?([\w\-.]++)?(groups 4 & 5)*: extracts the path part (+)?(group 6): extracts the qu...
Submitted by
Elie Grenon (elie-g)
-
2 years ago
1
Timestamps
ECMAScript (JavaScript)
Recognizes timestamps with the technical timestamp format.
Submitted by
Alejandro, Andreu
-
2 years ago
(Last modified 2 years ago)
1
...
91
92
93
94
95
...
295
match invalid postcode
0
Regular Expression
Python
r"
^
(
(
\D
*
)
|
(
.
{0,4}
)
|
(
.
{6,}
)
|
(
00000
)
|
(
\D
+
\d
+
.
*
)
|
(
\d
+
\D
+
.
*
)
)
$
"
Open regex in editor
Description
match as long as not 5digit code
Submitted by
anonymous
-
9 years ago