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 4,860 community submitted regex patterns...
0
Get string inside http or https and @
PCRE2 (PHP >=7.3)
Get the string inside an http or https and @something
Submitted by
aleix soler
-
a year ago
0
import exp
PCRE2 (PHP >=7.3)
find file name on import/export js module
Submitted by
anonymous
-
a year ago
0
Test regexp to redirect from mainpage dups
PCRE2 (PHP >=7.3)
Test regexp to redirect from mainpage dups
Submitted by
sinstranger
-
a year ago
1
SMMRaja Mass Order
PCRE2 (PHP >=7.3)
Regex for easily mass-ordering from SMMRaja
Submitted by
anonymous
-
a year ago
0
Find Secrets in Object
PCRE2 (PHP >=7.3)
Given a JSON.stringified object that may contain secrets, obfuscate them for logging. It will match parameters with "token," "key," and "secret" in strings and key/value pairs. Specifically looks for object values with : setters``, strings with = setters and Authorization headers. This regex will p...
Submitted by
chadkluck
-
a year ago
(Last modified a year ago)
1
Conventional Commits for commitcheck.com
PCRE2 (PHP >=7.3)
Conventional Commits is a specification for adding human and machine readable meaning to commit messages. CommitCheck is a GitHub app that ensures commit messages, PR titles and PR descriptions are consistent and contain required information. However, CommitCheck supports only ruby regular express...
Submitted by
https://github.com/CCXXXI
-
a year ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
a year ago
0
T1
PCRE2 (PHP >=7.3)
Reguljärt uttryck för att matcha T1
Submitted by
Jonas Thor
-
a year ago
(Last modified a year ago)
0
Reguljärt uttryck för att matcha G1
PCRE2 (PHP >=7.3)
Reguljärt uttryck för att matcha G1
Submitted by
Jonas Thor
-
a year ago
(Last modified a year ago)
0
weekly
PCRE2 (PHP >=7.3)
写周报把优路仕这边的工时天数去掉
Submitted by
anonymous
-
a year ago
0
test123
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
0
Match a shell-style parameter expansion introduced with a dollar sign and enclosed in culry braces.
PCRE2 (PHP >=7.3)
Matches a shell-style (bash, sh, zsh, etc.) parameter expansion reference.
Submitted by
anonymous
-
a year ago
0
Name with propositions surnames
PCRE2 (PHP >=7.3)
An expression to get nouns by grouping prepositions with surnames
Submitted by
maurocsjr@gmail.com
-
a year ago
0
Extract postcode and city
PCRE2 (PHP >=7.3)
Extract postcode and city when both are combined
Submitted by
anonymous
-
a year ago
0
Whatsapp timestamp remover
PCRE2 (PHP >=7.3)
Write regex to remove anything in between [12:58, 30/03/2023] Bharadwaj Giridhar from inboxpirates.net:
Submitted by
Chatgpt
-
a year ago
0
Parse XML element parts
PCRE2 (PHP >=7.3)
Parse XML element parts
Submitted by
emadhusameldeen@gmail.com
-
a year ago
0
Pattern to parse all XML node children
PCRE2 (PHP >=7.3)
Pattern to parse all XML node children
Submitted by
emadhusameldeen@gmail.com
-
a year ago
0
Gene ID from GTF Attributes
PCRE2 (PHP >=7.3)
As the title says, duh...
Submitted by
anonymous
-
a year ago
0
Roman numerals check
Python
It is used to check if the roman number is valid
Submitted by
JNg
-
a year ago
0
Bespoke NGINX Log Parse
Python
Splits NGINX logs into named groups
Submitted by
Simon
-
a year ago
1
...
33
34
35
36
37
...
243
extract query and path params - incomplete
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
a
-
z
]
[
a
-
z0
-
9+
\-
.
]
*
:
(
\/\/
[^
\/
?#
]
+
)?
)?
(
(?:
\/
[
a
-
z
]
{4}
\/
(
[
a
-
z
]
{2}
\-
[
a
-
z
]
{2}
)
\/
)
(
[
a
-
z0
-
9
\-
._~%!$&'()*+,;=:@
\/
]
*
)
)
(?:
\?
?
)
(
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
]
+
)
(?:
\=
)
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
\/
]
*
)
)*
(
&
*
)
/
gm
Open regex in editor
Description
Working on a regex to extract path and query params
Submitted by
anonymous
-
2 years ago