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 220 community submitted regex patterns...
0
Русские фамилии
Java 8
Почти все известные фамилии
Submitted by
Arthur
-
2 years ago
0
Армянские фамилии
Java 8
Все существовавшие армянские фамилии
Submitted by
Arthur
-
2 years ago
0
Uneven numbers of consontants
Java 8
Uneven numbers of consonants
Submitted by
Kristian Reitzel
-
2 years ago
0
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
2 years ago
0
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
2 years ago
0
Detect [YOTI] in string.xml
Java 8
we can use this regex?
Submitted by
anonymous
-
2 years ago
0
adi1
Java 8
https://internetinthecar-e2e\.((sfr|a1|swisscom|proximus|elisa|tango|telenor-no|telenor-se|yousee|plus|telia|bite-lv|bite-lt|a1-)\.)?iot\.vodafone\.com/sso/authorize/callback|https://internetinthecar-e2e-new\.iot\.vodafone\.com/sso/authorize/callback
Submitted by
anonymous
-
2 years ago
1
11
Java 8
11
Submitted by
11
-
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
0
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
3 years ago
0
Smartling custom placeholders and liquid strategy
Java 8
Suggested Smartling custom placeholder regex to support liquid syntax as documented for Braze. Because default value cannot be extracted easily recommend rewrting the liquite to avoid using default filters.
Submitted by
Eric Negron
-
3 years ago
0
Yuque
Java 8
Yuque
Submitted by
anonymous
-
3 years ago
1
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
0
123
Java 8
123
Submitted by
anonymous
-
3 years ago
0
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
3 years ago
0
Regex to verify a java method
Java 8
Verifies java methods
Submitted by
Marco Galindo
-
3 years ago
0
select
Java 8
select\s+(\|((\w+(\.\w+)?)+(\s?,\s?\w+(\.\w+)?))|((\w+\(|(\w+\.\w+)?\))(\s+\,\s+)?)+)\s+from\s+(\w+(\s?,\s?\w+)*\;?)(\s+((\w+\s+join)\s+(\w+(\.\w)?\s+on\s+(\w+(\.\w+)?\s+=\s+\w+(\.\w+)?)?)(\s+,\s+)?)+)?(\s+((limit\s+(\w+)?\s?(\,\w+\;)?)|((where)?\s+?(+\s?;))))?
Submitted by
anonymous
-
3 years ago
0
email with cyrillic
Java 8
email with cyrillic
Submitted by
Mpchest
-
3 years ago
0
File information modify
Java 8
file_(name)|file_(path)|file_(size)|file_(date) - searching (regex rule) file_info, name, path, size, date - keeping (result)
Submitted by
Dorival Trindade
-
3 years ago
0
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
3 years ago
1
...
7
8
9
10
11
GS1-128 and RegEx
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<upc>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<date>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<batch>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
/
gm
Open regex in editor
Description
Parse the 3 groups of a GS1-128 Barcode
Submitted by
Mike D
-
a year ago