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
Community Patterns
Search among 7,800 community submitted regex patterns...
1
linux log regex
Python
used to pull Date, time and PID from linux log files
Submitted by
anonymous
-
4 years ago
1
ali
Python
no description available
Submitted by
anonymous
-
4 years ago
1
ali
Python
no description available
Submitted by
anonymous
-
4 years ago
1
2- SEMANA3
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Week Regex
Python
Regex for MM/DD/YYYY week
Submitted by
anonymous
-
4 years ago
1
ffmppeg
Python
no description available
Submitted by
anonymous
-
4 years ago
1
什么值得买文章评论解析
Python
https://www.smzdm.com/p/23523045/p3/#comments 解析引用评论内容, 为保持表情顺序, 使用正则分步替换
Submitted by
anonymous
-
4 years ago
1
Flexible phone validation
Python
International / national format allowing space or dots as separator.
Submitted by
anonymous
-
4 years ago
1
Export WP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Non-symmetric positive lookahead (touching relation)
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Bug in regexp match count
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Final Regex for the log
Python
A single regex with the AND operator instead of OR
Submitted by
anonymous
-
4 years ago
1
carryover_assimilation_plosives
Python
no description available
Submitted by
anonymous
-
4 years ago
1
No repeating, no 1234567889,
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
forAllWorkToIll
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
bot
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Parse multiline excel data
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Same Character repeated
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Text Between Quotation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Find White Space Only
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
...
203
204
205
206
207
...
390
Define and detect custom tag with specific prefix & suffix
1
Regular Expression
ECMAScript (JavaScript)
/
<:
(
[^
<:>
\s
]
+
?
)
:>
/
gm
Open regex in editor
Description
Define and detect custom tag with specific prefix & suffix
Define custom tag :
<:tag_name:>
.
Regex is
/<:([^<:>\s]+?):>/gm
.
Prefix is
<:
.
Suffix is
:>
.
tag_name
can not contain prefix, suffix, space, tab or newline character .
tag_name
can not be null .
You can get
tag_name
string use
$1
.
Prefix and suffix any unicode character , just use
\uXXXX
in regex.
Submitted by
ShenTengTu
-
7 years ago