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 13,640 community submitted regex patterns...
0
Add gcache.size to Galera Cluster node config
Python
Regexp to add gcache.size to Galera cluster config, using Ansible's replace module
Submitted by
Aurelio Llorente
-
2 years ago
1
Polynom
PCRE (PHP <7.3)
Regex to get polynomial coefficients
Submitted by
Balandin Igor
-
2 years ago
-1
slug numeric
PCRE2 (PHP >=7.3)
pattern to validate a slug with numbers
Submitted by
mestri.rodrigo
-
2 years ago
0
СНИЛС укороченный
PCRE2 (PHP >=7.3)
Более компактный шаблон для проверки СНИЛС
Submitted by
anonymous
-
2 years ago
1
Illumina sample ID regex
PCRE2 (PHP >=7.3)
regular expression for illumina sequencer sample ids. sample Ids are alpha numeric with no more than two dashes or underscores and no underscores or dashes in the beginning or end of the sample id.
Submitted by
anonymous
-
2 years ago
0
lua_pattern
Python
lua file name
Submitted by
anonymous
-
2 years ago
0
СНИЛС
PCRE2 (PHP >=7.3)
Проверка формата СНИЛС
Submitted by
Virenbar
-
2 years ago
0
ИНН
PCRE2 (PHP >=7.3)
Проверка правильности кадастрового номера
Submitted by
Virenbar
-
2 years ago
0
Parse OFX date / date-time
PCRE2 (PHP >=7.3)
Parses an Open Financial Exchange date or date-time string as specified in "3.2.8.1 Dates, Times, and Time Zones" of the OFX Banking Specification, Version 2.3 October 2020.
Submitted by
Bryce Marshall
-
2 years ago
(Last modified 2 years ago)
0
3
PCRE2 (PHP >=7.3)
3
Submitted by
anonymous
-
2 years ago
0
1
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
2
Detect RGB/RGBA colors in CSS
PCRE2 (PHP >=7.3)
JS function to convert RGB(A) to HEX color for single values: /** @param {string} color the RGB(A) color @return {string} the HEX color */ function rgba2hex(color)...
Submitted by
WinterSilence
-
2 years ago
0
Get every first letter of each word
PCRE2 (PHP >=7.3)
Get every first letter of each word
Submitted by
anonymous
-
2 years ago
0
Match 2 Consecutive Characters
PCRE2 (PHP >=7.3)
Matches two consecutive characters. E.g. Applying match to, 'OOOO P' results in matches of, '~O'.
Submitted by
Matthew Hiebing
-
2 years ago
0
joplinapp inline tasks
PCRE2 (PHP >=7.3)
first get: duedate
Submitted by
anonymous
-
2 years ago
0
BIOS
PCRE2 (PHP >=7.3)
/
Submitted by
Pang Chin Pok
-
2 years ago
1
Grab first sentence from multi-line text
PCRE2 (PHP >=7.3)
Using to extract PhpDoc summary. Note: PhpDoc must be trimmed at left (' ' and '*' are removed).
Submitted by
WinterSilence
-
2 years ago
0
Parse binomial expression input
PCRE2 (PHP >=7.3)
Parse the binomial expression input
Submitted by
nil
-
2 years ago
0
大盘响应数据截取
PCRE2 (PHP >=7.3)
"https://finance.sina.com.cn/stock/"的响应数据 格式为-> var hq_str_s_sh000001="上证指数,3094.668,-128.073,-3.97,436653,5458126";
Submitted by
anonymous
-
2 years ago
1
Match range [1 ... 9999.99]
PCRE (PHP <7.3)
This helps matching numbers where decimals are optional
Submitted by
AndrewEastwood
-
2 years ago
1
...
80
81
82
83
84
...
682
Actor command
0
Regular Expression
PCRE (PHP <7.3)
/
<actor=
(?'actor'
\w
+
)
(?:
\s
(?'k1'
\w
+
)
(?:
=
(?'v1'
\w
+
?
|
'
.
+
?
'
)
)?
)?
(?:
\s
(?'k2'
\w
+
)
(?:
=
(?'v2'
\w
+
?
|
'
.
+
?
'
)
)?
)?
(?:
\s
(?'k3'
\w
+
)
(?:
=
(?'v3'
\w
+
?
|
'
.
+
?
'
)
)?
)?
(?:
\s
(?'k4'
\w
+
)
(?:
=
(?'v4'
\w
+
?
|
'
.
+
?
'
)
)?
)?
>
(?:
(?:
(?'content'
.
+
)
<
\/
actor>
(?'extra'
.
*
)
)
|
(?'contentonly'
.
*
)
)
/
gs
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago