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
Multilingual Website finding, information-extractive, regex. VERY USEFUL. NO CREDIT NEEDED
ECMAScript (JavaScript)
Website finder Author: Bryan Hu What does this does This can give you very useful information about the sites this regex extracts. It can extract the main domains of a variety of sites, give you...
Submitted by
Bryan Hu
-
4 years ago
0
String to Number
ECMAScript (JavaScript)
String to Number
Submitted by
anonymous
-
4 years ago
0
VALUE_UNIT
Python
no description available
Submitted by
anonymous
-
4 years ago
0
0 or more quantifier (+, *)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
New Move
Python
no description available
Submitted by
anonymous
-
4 years ago
0
New Poke
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Fe with 87 matches
Python
no description available
Submitted by
anonymous
-
4 years ago
0
each entry but without the entry
Python
no description available
Submitted by
anonymous
-
4 years ago
0
final laycan
Python
no description available
Submitted by
anonymous
-
4 years ago
0
pre laycan
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Last Occurrence of comma(,) in a string
ECMAScript (JavaScript)
Used this to dynamically create placeholder text when a user changed the coordinates format from default to custom. ex ['DD', 'DDM', 'DMS'] to remove the comma from the string. The format comes from an array of strings so I had to do a join(', ').replace(/\,(?=*$)/g, ' or') to get DD, DDM or DMS
Submitted by
anonymous
-
4 years ago
0
Filter text inside square brackets and text before and after
ECMAScript (JavaScript)
This can be used for templating
Submitted by
anonymous
-
4 years ago
0
[x1-x2] /[x1x2...xn] char set
Python
在方括号中使用连字符来指定字符集的范围。 在方括号中的字符集不关心顺序。
Submitted by
anonymous
-
4 years ago
0
‘.’ operator
Python
. 运算符 匹配任意单个字符,但不匹配换行符。
Submitted by
anonymous
-
4 years ago
0
Mac IP
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Inventario_ZTE
Python
Una muestra dle inventario de ZTE
Submitted by
anonymous
-
4 years ago
0
Inventario_ZTE
Python
Una muestra dle inventario de ZTE
Submitted by
anonymous
-
4 years ago
0
extract scipts and args from upgrade steps
Python
no description available
Submitted by
anonymous
-
4 years ago
0
分组与断言
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Age
ECMAScript (JavaScript)
Vienas skaitmuo (nuo 3), du skaitmenys (iki 69) pvz.: 3 69
Submitted by
anonymous
-
4 years ago
1
...
208
209
210
211
212
...
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