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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
0
standard pdv regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Lấy nội dung tên tiếng việt
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Storm Data Event Types
PCRE (PHP <7.3)
This is a regex for the above mentioned data clean up
Submitted by
anonymous
-
4 years ago
0
Eastlink MIND v8 Account lookup
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Eastlink MIND v8 Account lookup
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Test filter for "Find original image files (when duplicate)"
PCRE (PHP <7.3)
There too many images that don't fit the category. I had to put this regexp to have higher change finding them.
Submitted by
anonymous
-
4 years ago
0
Find original / duplicate files
PCRE (PHP <7.3)
When in Drupal you upload a file with the same filename a new file name is created with _.. The regexp is made to filter the supposedly original filename. After checking existence and filelength match the presuppostion is confirmed and deduplication takes place.
Submitted by
anonymous
-
4 years ago
0
Search between Start Anchor and first word with two characters
PCRE (PHP <7.3)
Search between Start Anchor and first word with two characters
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Output test with Input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Output test with Input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Output test with optional Input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Unit test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Alteryx challenge 20
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Parse line of csv data
PCRE (PHP <7.3)
This regex will parse a line of csv data, capturing each field.
Submitted by
anonymous
-
4 years ago
0
First characters in each line (in each paragraph)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
First characters in every word in the text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Every third (X + 1) character from the beginning of each word in the text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Every third (X + 1) character from the end of the word in every word in the text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
CP-Piana03
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
RGS30
PCRE (PHP <7.3)
MTN_AF
Submitted by
anonymous
-
4 years ago
1
...
331
332
333
334
335
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
^
|
^
)
\s
*
(?:
export
\s
+
)?
(
[
\w
.-
]
+
)
(?:
\s
*
=
\s
*
?
|
:
\s
+
?
)
(
\s
*
'
(?:
\\
'
|
[^
'
]
)*
'
|
\s
*
\"
(?:
\\\"
|
[^
\"
]
)*
\"
|
\s
*
`
(?:
\\
`
|
[^
`
]
)*
`
|
[^
#
\r\n
]
+
)?
\s
*
(?:
#
.
*
)?
(?:
$
|
$
)
/
gm
Open regex in editor
Description
Parse a single line of a .env file
From repo
dotenv
- source code
here
.
Submitted by
Mot (https://github.com/motdotla)
-
a year ago