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 5,940 community submitted regex patterns...
1
Test email for 99% of possible issues
PCRE2 (PHP >=7.3)
This is written using several other developer's work with my tying it all together and adding a few small requirement of my own. allows Latin characters (“a” - “z” or “A” - “Z”) within the email address. permits digits (0 - 9) in the email address. enforces domain part restrictions. allows hyphens ...
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
one line html
PCRE2 (PHP >=7.3)
matches html
Submitted by
anonymous
-
8 months ago
1
test
PCRE2 (PHP >=7.3)
mail, pass, ...
Submitted by
anonymous
-
8 months ago
1
jerry_eth_match
PCRE2 (PHP >=7.3)
jerry_eth_match
Submitted by
rin
-
8 months ago
1
IPv6 前缀格式
PCRE2 (PHP >=7.3)
IPv6 前缀格式
Submitted by
anonymous
-
8 months ago
1
API 文档注释的转换
ECMAScript (JavaScript)
(.)\/\/(.)
Submitted by
anonymous
-
8 months ago
1
Get type from calypso XML
PCRE2 (PHP >=7.3)
How to get type from calypso XML by key words
Submitted by
AlexMia
-
8 months ago
1
File path parser
PCRE2 (PHP >=7.3)
Parses a file path into 3 capture groups: 1: path (may be empty) 2: filename (required) 3: extension (may be empty)
Submitted by
Perigoso
-
8 months ago
1
html <Title>
Java 8
htnle
Submitted by
erichologist
-
8 months ago
1
Comprehensive PO Box detection (with generator code in Javascript)
ECMAScript (JavaScript)
Case insensitive (of course) All words can all be separated by nothing, spaces, periods, slashes, dashes, or underscores. (So "PO Box 123", "P.O. Box 123", "PO-Box 123", "PO_Box123", etc. all match.) Some valid abbreviations are P/Post/Postal, O/Off/Office, and B/Box/Bx/Bin (as well as N/No/Num/Numb...
Submitted by
TheSecurityDev
-
8 months ago
(Last modified 8 months ago)
1
匹配markdown代码块
PCRE2 (PHP >=7.3)
组1:编程语言 组2:代码
Submitted by
若小仟
-
8 months ago
1
regex that allows digits, space and hyphen
PCRE2 (PHP >=7.3)
regex that allows digits, space and hyphen
Submitted by
Animesh
-
8 months ago
1
template string match
PCRE2 (PHP >=7.3)
match like this: ${foo}
Submitted by
anonymous
-
8 months ago
1
IP matching
PCRE2 (PHP >=7.3)
using \g to match repeated pattern
Submitted by
binger
-
8 months ago
1
Multiline Address
PCRE2 (PHP >=7.3)
Match multiline address formats
Submitted by
anonymous
-
8 months ago
1
Find all PHP short echo tags
PCRE2 (PHP >=7.3)
Find all short echo tags and convert to Laravel Blade echo brackets {{ }}
Submitted by
matasbi
-
8 months ago
1
Split transcript into multiple columns
PCRE2 (PHP >=7.3)
Submitted by
Stephen Stroup
-
7 months ago
1
find literal yyyy-mm-dd dates
PCRE2 (PHP >=7.3)
to find usage of magic strings in a codebase
Submitted by
anonymous
-
7 months ago
1
CH IBAN in Text finden
PCRE2 (PHP >=7.3)
Der Ausdruck findet alle CH (Schweizer) IBAN (International Bank Account Number) in einem beliebigen Text.
Submitted by
anonymous
-
7 months ago
1
Email Regex
ECMAScript (JavaScript)
ECMAScript simple regex for email validation
Submitted by
@marquesjob
-
7 months ago
1
...
78
79
80
81
82
...
297
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