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,000 community submitted regex patterns...
0
Egypt Phone Number Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
IMAP: FULL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
IMAP: Envelope
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
IPV6 Match Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Javascript anonymous functions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
comment_repl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
NewWheel
Python
no description available
Submitted by
anonymous
-
4 years ago
1
NewWheel
Python
no description available
Submitted by
anonymous
-
4 years ago
1
A pattern match for a specific WP Gutenberg block
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
japanese telephone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
If Negative Lookbehind was Implemented in Stylus
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Textmate Snippet Variable Capture
PCRE (PHP <7.3)
Regex pattern for Textmate Snippet variables with non-overlapping capture groups—for use with Highlight extension for VSCode.
Submitted by
disk0 <www.github.com/disco0>
-
4 years ago
1
Border Style CSS Property Validation (Javascript)
ECMAScript (JavaScript)
Validates any border-style value that contains 0-4 (valid) border styles. Only restriction on whitespace is at least one space/tab between values—all of the examples below are valid: "solid" "solid none" "none none solid"...
Submitted by
disk0 <www.github.com/disco0>
-
4 years ago
1
Border Style CSS Property Validation (PCRE)
PCRE (PHP <7.3)
Validates any border-style value that contains 0-4 (valid) border styles. Only restriction on whitespace is at least one space/tab between values—all of the examples below are valid: "solid" "solid none" "none none solid"...
Submitted by
anonymous
-
4 years ago
1
Shell keybinds
PCRE (PHP <7.3)
Attempt to parse escape codes and their various forms used in shell keyboard shortcut binds. In its current form all forms of escapes are/will be matched in an identical group. e.g.: \e, ^[, \u001B, and \U001b all assign to the same binding (^[) in zsh's bindkey command, and therefore share a cap...
Submitted by
disk0 <www.github.com/disco0>
-
4 years ago
1
Shell keybinds
PCRE (PHP <7.3)
Attempt to parse escape codes and their various forms used in shell keyboard shortcut binds. In its current form all forms of escapes are/will be matched in an identical group. e.g.: \e, ^[, \u001B, and \U001b all assign to the same binding (^[) in zsh's bindkey command, and therefore share a cap...
Submitted by
disk0 <www.github.com/disco0>
-
4 years ago
1
not match numbers followed by a certain character
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Quoted String Aware Argument Splitter
PCRE (PHP <7.3)
Argument Parser Quoted string aware Both ' and " ...
Submitted by
disk0 <ww.github.com/disco0>
-
4 years ago
1
Conta caracteres
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
oracle_string_content_individuation
Python
no description available
Submitted by
anonymous
-
4 years ago
1
...
302
303
304
305
306
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?P<dst_ip>
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)?
,
?
(?P<User>
[
a
-
zA
-
Z._
\d
]
+
)
,
(?P<src_ip>
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)
:
(?<ID>
\d
+
)
/
gm
Open regex in editor
Description
This regular expression can be used in SIEM or scripts to extract special fields such as:
Submitted by
EskiSlav
-
3 years ago
(Last modified 3 years ago)