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 11,660 community submitted regex patterns...
0
1-100
PCRE (PHP <7.3)
1-100
Submitted by
anonymous
-
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
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
0
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
dante config
PCRE2 (PHP >=7.3)
generates dante config based on domains
Submitted by
anonymous
-
a year ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
0
Stripe ID Regex
PCRE2 (PHP >=7.3)
For stripe products or prices
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
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
check operator and length
PCRE2 (PHP >=7.3)
check operator and length
Submitted by
anonymous
-
a year ago
0
Whatsapp group message id
PCRE (PHP <7.3)
Whatsapp group message id
Submitted by
anonymous
-
a year ago
0
提取持股情况
PCRE2 (PHP >=7.3)
能够基于董监高临时公告
Submitted by
mason
-
a year ago
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
Locate all quoted (single or double) text, handling nested and also ignoring when in the first param of a ".replace("
PCRE2 (PHP >=7.3)
See https://onlinephp.io/c/a21b4 for PHP preg_replace_callback results
Submitted by
anonymous
-
a year ago
0
Isolate javascript elements within [html] text
PCRE2 (PHP >=7.3)
Needed to find all content between ... tags, plus any content within a that has an argument starting with on, e.g. See https://onlinephp.io/ for PHP runtime
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Regex to match all instances not inside quotes
PCRE (PHP <7.3)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Filtro Página web
PCRE (PHP <7.3)
Filtro pagina web
Submitted by
anonymous
-
a year ago
0
Email check
PCRE2 (PHP >=7.3)
check if email is correct
Submitted by
anonymous
-
a year ago
0
frequency
PCRE2 (PHP >=7.3)
e
Submitted by
hieppp
-
a year ago
0
Twitter profile url regexp
PCRE2 (PHP >=7.3)
This regexp tests for Twitter profile urls
Submitted by
nbryskin
-
a year ago
1
...
557
558
559
560
561
...
583
apache access log
3
Regular Expression
PCRE (PHP <7.3)
/
(
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)
-
-
\[
(
\d
{2}
\/
[
a
-
zA
-
Z
]
{3}
\/
\d
{4}
:
\d
{2}
:
\d
{2}
:
\d
{2}
(
\+
|
\-
)
\d
{4}
)
\]
(
(
\"
(
GET
|
POST
|
HEAD
|
OPTIONS
)
)
(
.
+
)
(
HTTP
\/
1
\.
(
1
|
0
)
"
)
)
(
\d
{3}
)
(
\d
+
)
(
[
"
]
(
(
\-
)
|
(
.
+
)
)
[
"
]
)
(
[
"
]
(
.
+
)
[
"
]
)
/
Open regex in editor
Description
parse the apache access log
Submitted by
pagu
-
8 years ago