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 12,960 community submitted regex patterns...
0
split_amazon_URI
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Date Range
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
WORD WRAP lines over 80 characters long
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Add space after comma if it has letters on each side.
PCRE (PHP <7.3)
This is used in the SQL_Pretty_Formatter after the commas inside quotes, parenthesis, and brackets have been temporarily replaced with |.
Submitted by
Ben
-
3 years ago
0
Find all commas that are not in parenthesis. Used in SQL_Pretty_Format()
ECMAScript (JavaScript)
Find all commas that are not in parenthesis or square brackets.
Submitted by
Ben
-
3 years ago
0
Negative lookahead with example
PCRE (PHP <7.3)
This text won\'t match because it does contain ab in it! This text won\'t match because it does contain cd in it! This text matches because it doesn\'t contain them in itghdfgdfg!
Submitted by
jarea
-
3 years ago
0
vin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Find next line if currentline match pattern
PCRE (PHP <7.3)
useful to find when values are repeating in input
Submitted by
anonymous
-
3 years ago
0
True Client IP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
nums in filenames
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
reg
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Floting numbers
PCRE (PHP <7.3)
floating numbers between 0-100 excluding 00
Submitted by
Rohit
-
3 years ago
0
Match URI with grouped URL syntaxes
ECMAScript (JavaScript)
Validate (although, not recommended) URI scheme, and separate the URI syntax with multiple groups.
Submitted by
outrowed
-
3 years ago
0
复杂正则
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Date
PCRE (PHP <7.3)
Matches any date with a shortened month. Example 1: Oct. 20, 2010 Example 2: Sep 10, 2020
Submitted by
anonymous
-
3 years ago
0
日期
ECMAScript (JavaScript)
可用于b站弹幕屏蔽
Submitted by
anonymous
-
3 years ago
0
Removes useless semicolons.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
CommonMark Fenced Code Blocks (78% Spec Compliant)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
日期
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
...
591
592
593
594
595
...
648
8 3-digit numbers capture groups - w spaces - long!
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
\d
{3}
)
\s
(
\d
{3}
)
\s
(
\d
{3}
)
\s
(
\d
{3}
)
\s
(
\d
{3}
)
\s
(
\d
{3}
)
\s
(
\d
{3}
)
\s
(
\d
{3}
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)