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,040 community submitted regex patterns...
0
regex-input-number
PCRE2 (PHP >=7.3)
regex-input-number
Submitted by
me
-
2 years ago
0
Partial Date
PCRE2 (PHP >=7.3)
Partial date
Submitted by
anonymous
-
2 years ago
0
Remove all duplicate words
ECMAScript (JavaScript)
Removes all words that are NOT followed by a space, followed by the same word
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
/Host: (.*?)<br>/gu
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
0
Wrap word in json with quotes
PCRE (PHP <7.3)
Wrap word in json with quotes
Submitted by
anonymous
-
2 years ago
0
Tailwindcss Dark: class selection
ECMAScript (JavaScript)
Select all dark: classes in a project to remove it if you want that.
Submitted by
Amit
-
2 years ago
(Last modified 2 years ago)
0
模式测试
PCRE (PHP <7.3)
测试贪婪/非贪婪模式
Submitted by
anonymous
-
2 years ago
0
非贪婪
PCRE2 (PHP >=7.3)
非贪婪
Submitted by
anonymous
-
2 years ago
0
独占模式
PCRE2 (PHP >=7.3)
独占模式
Submitted by
anonymous
-
2 years ago
0
Nepali phone number regex
.NET 7.0 (C#)
(\+977)?9\d{8}
Submitted by
anonymous
-
2 years ago
0
灾难性回溯
PCRE2 (PHP >=7.3)
灾难性回溯
Submitted by
anonymous
-
2 years ago
0
分组引用
Python
分组引用
Submitted by
anonymous
-
2 years ago
0
Replace regex with [does not contain string + contain string]
PCRE2 (PHP >=7.3)
o let's imagine this here: images/dwaudhawd_Test Picture.png I would need to replace this into this:...
Submitted by
Suman Maharjan
-
2 years ago
0
Kucoin trading
PCRE2 (PHP >=7.3)
Used to match kucoin trading links
Submitted by
anonymous
-
2 years ago
0
Remove leading and trailing spaces
ECMAScript (JavaScript)
Remove leading and trailing spaces from multiline text.
Submitted by
Freemen Muaddib
-
2 years ago
0
Replace all newlines (except double newlines) with spaces
PCRE (PHP <7.3)
In the first capturing group, match any character that isn't a newline, then, match a newline, then, in a non-capturing group, match a newline. Replace the the entire matched sequence with contents of the first capturing group followed by a space.
Submitted by
anonymous
-
2 years ago
0
Remove Empty Lines From TXT Document
ECMAScript (JavaScript)
Remove all empty lines from text document.
Submitted by
anonymous
-
2 years ago
0
Get HTML Balise
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
google
PCRE2 (PHP >=7.3)
google api
Submitted by
anonymous
-
2 years ago
0
Card number
PCRE2 (PHP >=7.3)
Card number
Submitted by
anonymous
-
2 years ago
1
...
824
825
826
827
828
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
%%
[
C,c
]
)
(
[
0
-
9
]
{1,2}
)
(
S
[
0
-
9
]
{3}
)
-
(
[
0
-
9
]
{2,3}
)
\/
(
%%
[
C,c
]
)
(
[
0
-
9
]
{1,2}
)
(
S
[
0
-
9
]
{3}
)
-
(
[
0
-
9
]
{2,3}
)
[
]
+
(
[
0
-
9
]
{2,3}
)
[
x,X,х,Х
]
(
[
0
-
9
]
{2,3}
)
[
]
(
[
0
-
9
]
{2,3}
)
(
[
+
]
[
0
-
9
]
{2,3}
|)
\/
(
[
0
-
9
]
{2,3}
)
/
gm
Open regex in editor
Description
Parsing signature of wire rebar mesh by "ГОСТ 23279-2012"
Submitted by
Anatoliy Zhartun
-
2 years ago