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,780 community submitted regex patterns...
0
PayPal.Me
PCRE2 (PHP >=7.3)
Verifies a paypal.me link
Submitted by
Dylan
-
3 years ago
0
teste
PCRE2 (PHP >=7.3)
teste
Submitted by
anonymous
-
3 years ago
0
File information modify
Java 8
file_(name)|file_(path)|file_(size)|file_(date) - searching (regex rule) file_info, name, path, size, date - keeping (result)
Submitted by
Dorival Trindade
-
3 years ago
0
file name prefix
PCRE2 (PHP >=7.3)
file name prefix
Submitted by
anonymous
-
3 years ago
0
Not alphanumeric
PCRE2 (PHP >=7.3)
Find lines that are not alphanumeric
Submitted by
anonymous
-
3 years ago
1
SoundCloud Link Verification
PCRE2 (PHP >=7.3)
SoundCloud doesn't have usernames in their URLs, but the user can customize their url with the following rules for what comes after soundcloud.com/: • Use only numbers, lowercase letters, underscores, or hyphens. • Profile URLs must not start or end with an underscore or hyphen....
Submitted by
Dylan
-
3 years ago
(Last modified 3 years ago)
0
SORT-data
PCRE2 (PHP >=7.3)
This detect format for SORT data
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
FBGOD_QF
PCRE2 (PHP >=7.3)
ff
Submitted by
anonymous
-
3 years ago
0
iso-8601-optional-milliseconds
PCRE2 (PHP >=7.3)
iso-8601-optional-milliseconds
Submitted by
anonymous
-
3 years ago
1
full url dissection
PCRE2 (PHP >=7.3)
any given url inside a text will be recognized and split into different groups: url (full url) scheme hostname (subdomain + domain + tld) port path...
Submitted by
ttschnz
-
3 years ago
0
SamAccountName
PCRE2 (PHP >=7.3)
Test for valid ActiveDirectory SamAccountName
Submitted by
gareth
-
3 years ago
0
Username Match
PCRE2 (PHP >=7.3)
Username check. started only [a-z] and stoped [a-z0-9]
Submitted by
anonymous
-
3 years ago
0
Not ending with png
PCRE2 (PHP >=7.3)
Not ending with png
Submitted by
Archon
-
3 years ago
0
extract words separated by specific words
PCRE2 (PHP >=7.3)
Extract words separated by specific words
Submitted by
Archon
-
3 years ago
0
Cron regex
PCRE2 (PHP >=7.3)
cron regular expression
Submitted by
anonymous
-
3 years ago
0
CFF-definitions.swh-identifier
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.swh-identifier value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.pmcid
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.pmcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.languages
PCRE2 (PHP >=7.3)
Pattern for validating definitions.reference.languages values in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.issn
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.issn value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
1
CFF-definitions.reference.isbn
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.isbn value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
1
...
107
108
109
110
111
...
139
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