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
bkengine多行宏解析器
Python
简体中文: 用于解析bkengine的宏代码 如果代码的开头是形如// 这种注释,你需要先通过编程代码手动判断此行的开头是否为注释,如果是,则不处理后面的diam 如果注释在宏代码的后面 此正则不会处理在尾部的单行注释 注:此宏仅支持当行宏匹配(多行宏匹配可能会出现小问题)...
Submitted by
小沙盒工作室
-
2 years ago
(Last modified 2 years ago)
0
bkengine 多行宏词法分析 添加了分组参数
Python
bkengine 多行宏词法分析 添加了分组参数
Submitted by
小沙盒工作室
-
2 years ago
0
matches 4 or 6 or 8 digit which might be otp
PCRE2 (PHP >=7.3)
test
Submitted by
test
-
2 years ago
0
`git` URL
Python
Match git URL components (including partial URLs).
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
去除首尾空格
Python
去除首尾空格
Submitted by
anonymous
-
2 years ago
0
Kafka topic name regex
PCRE (PHP <7.3)
Kafka topic name regex
Submitted by
anonymous
-
2 years ago
0
Polynomial spotter
PCRE2 (PHP >=7.3)
spots polynomial pieces and captures the exponent and coefficient
Submitted by
anonymous
-
2 years ago
0
Match files' extention
Python
match files' extention
Submitted by
anonymous
-
2 years ago
0
Extract domain from email address
Python
Extract domain from email address.
Submitted by
Janus Helkjær
-
2 years ago
0
marcelobc548@gmail.com - Extrair Seções e Aptos
PCRE2 (PHP >=7.3)
Extrair número da seções e quantidade de eleitores aptos.
Submitted by
anonymous
-
2 years ago
0
VS Code find replace template block
ECMAScript (JavaScript)
Used with Visual Studio Code to search and replace text in between two markers. I use this to template in things that occur on multiple pages like the navigation menu. I know this can be done with javascript or servers side scripting, but sometimes I just want to pre process all of this like in the ...
Submitted by
Bishop
-
2 years ago
0
processo
PCRE2 (PHP >=7.3)
Preciso fazer um Input. 1234569-19.2009.7.19.1009 sobre alterando esses campos AnumeroProcesso%3AnumeroSequencial= ficaria 1234569 AnumeroDigitoVerificador= ficaria 19 AnumeroProcesso%3AAno=ficaria 2009 AnumeroProcesso%3AramoJustica=ficaria 7...
Submitted by
Anderson
-
2 years ago
0
Sports Release Regex attempt #1
PCRE2 (PHP >=7.3)
Yes. Its a thing.
Submitted by
anonymous
-
2 years ago
0
Strip datetime -> date
PCRE2 (PHP >=7.3)
Strip datetime -> date
Submitted by
anonymous
-
2 years ago
0
helix word motion
PCRE (PHP <7.3)
helix word motion
Submitted by
anonymous
-
2 years ago
0
VK owner id and item id regex
PCRE2 (PHP >=7.3)
This regex allows access to owner id and item id of VK url.
Submitted by
MagicWinnie
-
2 years ago
0
URL
.NET 7.0 (C#)
(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by
anonymous
-
2 years ago
0
Parse DevScript actions payload
Python
Parse DevScript action payloads
Submitted by
anonymous
-
2 years ago
0
Crazy Caps Your String -
PCRE2 (PHP >=7.3)
Capitalize every other letter and lower case every alternate letter in your string!
Submitted by
anonymous
-
2 years ago
0
取等号两边的数据
Python
取等号两边的数据
Submitted by
小沙盒工作室
-
2 years ago
1
...
844
845
846
847
848
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?<month>
\S
{3}
)?
{1,2}
(?<day>
\S
+
)
(?<time>
\S
+
)
(?<hostname>
\S
+
)
(?<process>
.
+
?
(?=
\[
)
|
.
+
?
(?=
)
)
[^
a
-
zA
-
Z0
-
9
]
(?<pid>
\d
{1,7}
|)
[^
a
-
zA
-
Z0
-
9
]
{1,3}
(?<info>
.
*
)
$
/
gm
Open regex in editor
Description
Parses the auth log on standard linux machines into useful groups.
Submitted by
Jason King
-
2 years ago
(Last modified 2 years ago)