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,840 community submitted regex patterns...
0
t2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Членские взносы
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
telegraf.conf
Python
no description available
Submitted by
anonymous
-
5 years ago
0
jekyll-preprocess
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
jekyl-process2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
jekyll-process3
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
https://regex101.com/r/edPG4P/1
Python
needs to be modified for use in python by this code example note use of {3 } and additional parenthesis around the import re nigeRegex = re.compile(r'((\d{3}-)?\d{3}-\d{4}(,)?){3}') nigeRegex.search('My numbers are 415-555-1234,555-4242,212-555-0000')
Submitted by
anonymous
-
5 years ago
0
https://regex101.com/r/edPG4P/1
Python
needs to be modified for use in python by this code example note use of {3 } and additional parenthesis around the import re nigeRegex = re.compile(r'((\d{3}-)?\d{3}-\d{4}(,)?){3}') nigeRegex.search('My numbers are 415-555-1234,555-4242,212-555-0000')
Submitted by
anonymous
-
5 years ago
0
Dates
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Списки
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Домены
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Time Sync Regex
Python
Returns the value of an epoch time sync with a time reference
Submitted by
anonymous
-
5 years ago
0
TRANSPORT
Python
no description available
Submitted by
anonymous
-
4 years ago
0
RESERVED
Python
no description available
Submitted by
anonymous
-
4 years ago
0
BORDER
Python
no description available
Submitted by
anonymous
-
4 years ago
0
ACCESS
Python
no description available
Submitted by
anonymous
-
4 years ago
0
ENNI
Python
no description available
Submitted by
anonymous
-
4 years ago
0
VIDEO
Python
no description available
Submitted by
anonymous
-
4 years ago
0
VOICE
Python
no description available
Submitted by
anonymous
-
4 years ago
0
NV
Python
no description available
Submitted by
anonymous
-
4 years ago
1
...
203
204
205
206
207
...
392
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