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 2,560 community submitted regex patterns...
0
split a comma separated string ignoring quotes and brackets
PCRE2 (PHP >=7.3)
Breaks a CSV into parts, but keeps those things in quotes (single OR double), or in curved bracket together. preg_match_all('(?:\'(?:\\\\.)\'|"(?:\\\\.)"|(\((?:++|(?1))*\))|)+s', $text, $matches)
Submitted by
anonymous
-
a year ago
0
提取持股情况
PCRE2 (PHP >=7.3)
能够基于董监高临时公告
Submitted by
mason
-
a year ago
0
check operator and length
PCRE2 (PHP >=7.3)
check operator and length
Submitted by
anonymous
-
a year ago
0
Regex to extract SEED and first 10 ETH addresses.
PCRE2 (PHP >=7.3)
Using iancoleman's Mnemonic Code Generator located at https://iancoleman.io/bip39/, set the COIN type to ETH. Then Ctrl+A (Windows), select all of the text on the page, copy, and paste into the "TEST STRING" located at "Regex101.com". This will leave only the SEED and first 10 ETH addresses as the...
Submitted by
anonymous
-
a year ago
0
Remove leading and trailing zeros from decimal numbers
PCRE2 (PHP >=7.3)
Remove leading and trailing zeros from decimal numbers
Submitted by
asasine
-
a year ago
(Last modified a year ago)
0
Stripe ID Regex
PCRE2 (PHP >=7.3)
For stripe products or prices
Submitted by
anonymous
-
a year ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
1
dante config
PCRE2 (PHP >=7.3)
generates dante config based on domains
Submitted by
anonymous
-
a year ago
1
match domain, but not www
PCRE2 (PHP >=7.3)
matches domains with or without www, does not include www
Submitted by
anonymous
-
a year ago
0
HTML to Text only
PCRE2 (PHP >=7.3)
Removing HTML tags completely and only keeping text between them. USAGE: I used it to sum words to calculate reading time for articles.
Submitted by
@navoneel-talukdar - StackOverflow
-
a year ago
1
uzbekistan phone number
PCRE2 (PHP >=7.3)
uzbekistan phone number
Submitted by
Elbek Khamdullaev
-
a year ago
0
Find GUI {198699vh876ehge}
PCRE2 (PHP >=7.3)
Find a GUI {29v9v9363}
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Is string a number?
PCRE2 (PHP >=7.3)
Solution to this problem: https://py.checkio.org/tracking/click/eyJ1cmwiOiAiaHR0cHM6Ly9weS5jaGVja2lvLm9yZy9taXNzaW9uL2lzLXN0cmluZy1hLW51bWJlci1wYXJ0LWlpL3NoYXJlL2Y4YWY2OWFhNzkxNDFlYzkyYTRlYmRiNjJmMzk1NzllLyIsICJtZXRhZGF0YSI6IHsidHJhY2tpbmdfY29kZSI6ICJmMjNkNmUxNzI3MmM0YWY1YmJlNjAxMjM5Yzg0MDhhNiJ9fQ==
Submitted by
Sohang Chopra
-
a year ago
0
Octal Literal remover
PCRE2 (PHP >=7.3)
Useful for javascript calculator
Submitted by
github devynj4722
-
a year ago
0
Grafana - Templating with Variables : Display Text to Value
PCRE2 (PHP >=7.3)
Grafana Templating : Friendly Variable Values as Display Names Check below Grafana Documentation for the Use Case : https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#filter-and-modify-using-named-text-and-value-capture-groups This example demonstrates how to extr...
Submitted by
ulgena
-
a year ago
(Last modified a year ago)
0
VLAN ID Validation Regex
Golang
VLAN ID Validation Regex Please use first segment or second depending on the Extended VLAN usage such as "1-256" or "1-4096" : Non-extended VLAN IDs (1-256), check v2 of the regex entry ...
Submitted by
ulgena
-
a year ago
0
IPv4 Address Validation Regex
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
-
a year ago
(Last modified a year ago)
0
South African ID Numbers
PCRE2 (PHP >=7.3)
This is a Regex for South African ID numbers. SA ID numbers' format is the following: YYMMDD GGGG CAZ ...
Submitted by
Riaan van den Berg
-
a year ago
(Last modified 8 months ago)
0
正規式向後看
PCRE2 (PHP >=7.3)
抓括號後的文字
Submitted by
Devin
-
a year ago
0
Extract CREATE TABLE statements from SQL dump file
PCRE2 (PHP >=7.3)
Usage: pcre2grep -M -e'^(CREATE TABLE*?;)' dump.sql > create-tables.sql
Submitted by
Daniel J. Post
-
a year ago
1
...
40
41
42
43
44
...
128
Library of Congress Call Numbers
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
A
-
Z
]
{1,3}
[
0
-
9
]
{1,4}
\.
?
(
[
0
-
9
]
{1,2}
)?
\
?
\.
?
[
A
-
Z
]
{1}
[
0
-
9
]
{1,}
.
?
\
?
(
[
A
-
Z
]
{1,2}
[
1
-
9
]
{1,}
)?
\
?
(
[
0
-
9
]
{1,}
)?
/
gm
Open regex in editor
Description
Matches Library of Congress Call Number
Submitted by
Andy F
-
2 years ago