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,020 community submitted regex patterns...
1
Find all html-tags except for some
PCRE (PHP <7.3)
Find all html-tags except for some that you want to preserve for any reason. I use this to remove all tags except those I want to keep.
Submitted by
anonymous
-
6 years ago
0
direccion plaza
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
direccion avenida
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
general direction
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
numbers with decimals
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
group catch (group有名字)
Python
代換搜尋到的兩個group,中間加字
Submitted by
anonymous
-
6 years ago
0
group catch 第二版 (group有名字)
Python
搜尋到的內容,區分為\g, \g, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
6 years ago
0
group catch 第二版 (group有名字)
Python
搜尋到的內容,區分為\g, \g, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
6 years ago
0
group catch
Python
搜尋到的內容,區分為\1, \2, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
6 years ago
0
前後條件_改中文標點
Python
利用Look_behind 【字串】look_ahead 修改中文標點 【, *] 【,\s*] ➔ 空白0次或多次 【,\s?] ➔ 空白0次或1次 【,\s+] ➔ 空白1次或多次
Submitted by
anonymous
-
6 years ago
0
Neto Log Line Format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Jenkins Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Jenkins Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Java Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Client return check
Python
no description available
Submitted by
anonymous
-
6 years ago
0
capture words with no numbers in them
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Your mom
Python
no description available
Submitted by
anonymous
-
6 years ago
0
HGam mxAOD
Python
no description available
Submitted by
anonymous
-
6 years ago
0
IP and Timestamp extractor
PCRE (PHP <7.3)
extracts IP and Timestamp from log file for further processing.
Submitted by
anonymous
-
6 years ago
0
have X shipmet
Python
no description available
Submitted by
anonymous
-
6 years ago
1
...
463
464
465
466
467
...
901
Community Library Entry
0
Regular Expression
Python
r"
^
(
\w
+
(
\-
\w
+
)?
)
(
\s
)
(
[
A
-
Z
]
\.
\s
)*
(
\w
+
)
(
\s\w
+
)?
\,
(
(
\(
|
1
\-
|
\(
1
\-
)*
\d
{3}
(
\)
(
\s
)?
|
-
|
\s
|
\)\-
)?
\d
{3}
\-
*
\s
?
\d
{4}
)
\,
(
\w
+
)
(
\-
\w
+
\-
\w
+
)?
(
\s\w
+
$
)?
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago