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. Click
here
to read more.
Community Patterns
Search among 13,880 community submitted regex patterns...
0
filepath
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex to match key in json
PCRE (PHP <7.3)
((?<=key).*)(?=:|,)
Submitted by
anonymous
-
7 years ago
0
Find unescaped quotes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Linux Logs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Java Map output to JSON String
Python
no description available
Submitted by
anonymous
-
7 years ago
0
name unicode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
POSREG
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
^(0|[1-9]\d*)$
PCRE (PHP <7.3)
Only input number
Submitted by
anonymous
-
7 years ago
0
NUMREG
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
IO
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
PRG
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Find Paths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Convert assertEquals to AssertJ Syntax
PCRE (PHP <7.3)
Converts assertEquals("message", expected, actual) to AssertJ syntax Replacement: assertThat(${three}).isEqualTo(${two}).as(${one});
Submitted by
anonymous
-
7 years ago
0
e-mail pca ctq
PCRE (PHP <7.3)
no description available
Submitted by
QPE
-
7 years ago
0
FL709 V/D
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
register
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
排除特定字符
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
链接巧妙取数字
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Confirmation 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Match consecutive 8 identical numbers regardless of any character at start or end with string length between 8 and 20
PCRE (PHP <7.3)
Match 8 or more consecutive digits irrespective of it's position in the string with string length between 8 and 20. ex: 11111111 - match ASD11111111 - match ASD22222222oook - match 777kjoi77777 - no match etc.,
Submitted by
Cyanotrix
-
7 years ago
1
...
455
456
457
458
459
...
694
Extract CN from DN (CanonicalName from DistinguishedName)
1
Regular Expression
PCRE (PHP <7.3)
/
(
CN=
)
(
.
*
?
)
(?<!
\\
)
,
.
*
/
gmi
Open regex in editor
Description
Given a DistinguishedName string, extracts the CN portion, coping with escaped characters
Submitted by
anonymous
-
8 years ago