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 18,000 community submitted regex patterns...
0
array() to shorthand []
PCRE2 (PHP >=7.3)
PHP array() syntax to shorthand
Submitted by
anonymous
-
3 years ago
0
Extract noun chunks
PCRE2 (PHP >=7.3)
Extract noun chunks in a sentence.
Submitted by
anonymous
-
3 years ago
0
Validate UUID
PCRE2 (PHP >=7.3)
Use this regex to validate a UUID
Submitted by
@eltonplima
-
3 years ago
0
First_Tests
PCRE2 (PHP >=7.3)
first tests
Submitted by
anonymous
-
3 years ago
0
Scuffed phone number detectorizer
ECMAScript (JavaScript)
This is my first real regular expression after following some tutorials. Finds phone numbers, that's about it
Submitted by
hoylecake
-
3 years ago
0
Replace First and Last Word in string
Python
From Rp. 1000 (3 %) to 1000
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Remove bracketed text
PCRE2 (PHP >=7.3)
Remove bracketed text using substitution
Submitted by
markfullmer
-
3 years ago
0
Retrieve BSSID and signal strength from netsh
PCRE2 (PHP >=7.3)
Retrieve BSSID and signal strength from netsh
Submitted by
asasine
-
3 years ago
0
Get number in the middle of string
Python
From Rp. 1.000.005,52 (35 %) to 1.000.005,52
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
HTML Document or Fragment Heuristic
Python
From the StackOverflow question "Check if a string is html or not" there are many examples and a few approaches, some more expensive than others. Full DOM parsing and detecting constructed DOM elements is sure-fire, but slow, requiring a browser with parser and DOM representation. Regular expression...
Submitted by
Alice Bevan-McGregor
-
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
获取秀人模特名字
PCRE2 (PHP >=7.3)
能够获取大部分具备标准格式的秀人套图的模特名字,但没办法解决 本身名字中带有空格的问题
Submitted by
anonymous
-
3 years ago
0
my birthday pattern
PCRE (PHP <7.3)
must match format: yyyy-MM-dd
Submitted by
anonymous
-
3 years ago
0
BanRegex
PCRE2 (PHP >=7.3)
B站”刷寿命“弹幕屏蔽正则
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
my_lib
PCRE2 (PHP >=7.3)
without numbers
Submitted by
anonymous
-
3 years ago
0
HTML -> echo in bat
PCRE2 (PHP >=7.3)
stage1: % to %% stage2: (\|\"|\;) to \^$1 ...
Submitted by
anonymous
-
3 years ago
1
link findall
Python
Submitted by
Kerem Göksu
-
3 years ago
0
Multi Language Letters with single space, no symbol or number or trailing spaces
ECMAScript (JavaScript)
This is tedious
Submitted by
anonymous
-
3 years ago
0
Phone Regex
Python
For Phone Numbers
Submitted by
anonymous
-
3 years ago
0
YouTube ID receiver
ECMAScript (JavaScript)
Detects YouTube link in the standard format and shortcuts and it receives the ID of the YT video.
Submitted by
Velidan
-
3 years ago
1
...
201
202
203
204
205
...
900
Community Library Entry
0
Regular Expression
Python
r"
(
[
0
-
9
]
{1,2}
)
\s
*
(
[
\u0400-\u04FF
]
+
)
\s
*
(
[
0
-
9
]
{4}
|
[
0
-
9
]
{2}
)
|
(
[
0
-
9
]
{1,2}
)
\s
*
(
j
|
f
|
m
|
a
|
j
|
s
|
o
|
n
|
d
[
a
-
z.
]
+
)
\s
*
(
[
0
-
9
]
{4}
|
[
0
-
9
]
{2}
)
|
(
[
0
-
9
]
{1,2}
)
\s
*
[
./
]
{1}
\s
*
(
[
0
-
9
]
{1,2}
)
\s
*
[
./
]
{1}
\s
*
(
[
0
-
9
]
{4}
|
[
0
-
9
]
{2}
)
"
gmiu
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago