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
REGEX to parse IIS7 Log File into FluentD
PCRE (PHP <7.3)
This regex parses the entire line of the IIS log files (without detail on the AgentID) for usage into FluentD. The original was writen by Juan Carniglia. Link I've updated to move the spaces out of the capture, and to make the csmethod specific to GET/POST/etc.
Submitted by
Juan Carniglia
-
6 years ago
0
Find specific document cookie value
ECMAScript (JavaScript)
Finds the value of a specific cookie. Use it in in this format: alert(document.cookie.replace((?:(?:^|.;\s)test2\s\=\s().$)|^.*$)) The above code will find the value of the cookie called test2 and display it in a alert dialog.
Submitted by
anonymous
-
6 years ago
0
horizontal whitespaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Educadhoc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
GitHub and GitLab URL detection
ECMAScript (JavaScript)
Detects github and gitlab urls and gives back the domain (either github.com or gitlab.com) and the author + repo name
Submitted by
anonymous
-
6 years ago
0
Parse Excel Autopath case numbers
Python
no description available
Submitted by
anonymous
-
6 years ago
0
exclude
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
databinary
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
urls
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
smartax
Golang
no description available
Submitted by
anonymous
-
6 years ago
0
Word
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Selección de números
PCRE (PHP <7.3)
Ejemplo de REGEX 01
Submitted by
anonymous
-
6 years ago
0
Only allow latin chars and whitespaces
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Recursive tag encapsulation
PCRE (PHP <7.3)
Gets the content between a and b recursively, getting the topmost set first example token to search for tags: aaaaabbbbbaababbaabbba
Submitted by
anonymous
-
6 years ago
0
imp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Brighthouse get User email address and Role name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
FINAL TURBO CLASS REGEX
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
ALLOCATION REMOVAL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
VARIABLE CLASS PARSING
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
COMMENTS REMOVAL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
516
517
518
519
520
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
(
\/
[
0
-
9
]
(
[
0
-
9
]
?
)
)?
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago