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 220 community submitted regex patterns...
2
Regex tutorial
Java 8
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
1
Matching decimals in european format (dot as grouping separator, comma as decimal separator)
Java 8
A regex for validating decimal numbers in the European number format (in many parts of Europe at least, including Germany). A comma is used as a separator for the decimal number, a dot as a separator for thousand places.
Submitted by
Florian Drees
-
4 years ago
(Last modified 4 years ago)
2
Comparison of decimals with operators such as <, >, !=, ==, <>
Java 8
Regex expression for comparing decimal numbers with the usual comparison operators such as (greater than), >= (greater than or equal to), != (not equal to), == (equal to), ... The regex also allows filtering of data from e.g. a database, whereby the first value is not needed, e.g. [FIELD] < 100
Submitted by
Florian Drees
-
4 years ago
2
yyyy/mm/dd
Java 8
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day, date format. E.g: 2021/08/25 [match] 2021/...
Submitted by
mayl0421
-
3 years ago
2
Markdown Heading
Java 8
Parses the text following a '#' and a space all the way up to the next return character. Additional #'s can be added for parsing of other type of headings!
Submitted by
Hansen
-
3 years ago
2
Asciidoc PlantUML Block
Java 8
Regex to select PlantUML Block in Asciidoc documents
Submitted by
anonymous
-
3 years ago
2
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
a year ago
(Last modified a year ago)
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
10 years ago
(Last modified a year ago)
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
8 years ago
(Last modified a year ago)
1
String doesn't start or end with . - '
Java 8
String doesn't start or end with . - '
Submitted by
VS
-
4 years ago
1
Match all numbers
Java 8
Match all numbers from a string.
Submitted by
VS
-
4 years ago
-1
IPv4 Matcher
Java 8
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
-
4 years ago
1
Sınıfları Tek Tek seçme
Java 8
za
Submitted by
anonymous
-
4 years ago
1
sim ou não
Java 8
expressão regular que só aceita s para sim e n para não
Submitted by
José Airton Neto
-
4 years ago
1
Match segmented paths with '\' and '/' escaped by '\'
Java 8
Match segmented paths with '\' and '/' escaped by '\'
Submitted by
anonymous
-
4 years ago
1
MBI Format
Java 8
Medicare Beneficiary Identifier (MBI) Format https://www.cms.gov/medicare/new-medicare-card/understanding-the-mbi-with-format.pdf
Submitted by
Chee Cheng
-
4 years ago
(Last modified 4 years ago)
1
css attribute validation
Java 8
css attribute validation
Submitted by
arnab
-
3 years ago
1
标点
Java 8
匹配大部分标点
Submitted by
anonymous
-
3 years ago
1
sfdgvsdgdfg
Java 8
dgfdgdf
Submitted by
anonymous
-
3 years ago
1
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
3 years ago
1
2
3
...
11
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
A
-
IK
-
PR
-
VZ
]
{2}
|
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
A
-
IK
-
PR
-
VZ
]
{2}
[
\s
-
]
{0,1}
[
0
-
9
]
{2}
|
[
A
-
IK
-
PR
-
WYZ
]
{2}
[
\s
-
]
{0,1}
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
A
-
IK
-
PR
-
WYZ
]
{2}
/
gm
Open regex in editor
Description
Regex to recognize Vehicle License Plates in Portugal
Submitted by
anonymous
-
5 years ago