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
get specific portion from string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Match any django block tag that is not a common one
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Gastec Tubes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Первая строка
ECMAScript (JavaScript)
Выделение первой строки комментария MODBUS таблицы
Submitted by
anonymous
-
4 years ago
0
WiKi Links without Headers
PCRE (PHP <7.3)
Includes Words, Digits, White Spaces, (, ), :, -, _
Submitted by
anonymous
-
4 years ago
0
Swing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Wiki Links Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Capturing everything up until the first _ or -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Basis-Tricks with capture group-Create and exclude
PCRE (PHP <7.3)
Create capture group - between (), and it shall not be a command Exclude capture group - write the pattern or the exact text/syntax without being sorrounded with ()
Submitted by
anonymous
-
4 years ago
0
Drupal cid from URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Arlamas externas Ericsson
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Basis - Replace using Capture Groups
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Essai
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Email Validation
PCRE (PHP <7.3)
basic email validation
Submitted by
anonymous
-
4 years ago
0
Extraction de la quantité d'unités dans Open Food Facts
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Youtube link
PCRE (PHP <7.3)
Short or long. Without channel, playlist and any other options
Submitted by
anonymous
-
4 years ago
0
Password validation
PCRE (PHP <7.3)
Regex password validation (Basic)
Submitted by
anonymous
-
4 years ago
0
Поиск неточных совпадений 001
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
ES6 to ESM part 2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
ES6 to ESM part 1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
...
268
269
270
271
272
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
\s
+
(?P<tst_dvc>
[^
\s
]
+
)
\s
+
\w
{3}
\s
+
\d
{1,2}
\s
+
\d
{2}
\:
\d
{2}
\:
\d
{2}
\s
(?P<tst_cmd>
[^
:
]
+
)
:
\s
+
(?P<tst_action>
[^
\s
]
+
)
\s
+
<
\d
>
(?P<tst_action2>
[^
\s
]
+
)
\s
+
IN=
(?P<tst_in_if>
[^
\s
]
+
)
\s
+
OUT=
(?P<tst_out_if>
[^
\s
]
+
)
\s
+
<
\d
>
(?P<tst_src_ip>
[^
\s
]
+
)
\s
+
DST=
(?P<tst_dest_ip>
[^
\s
]
+
)
\s
+
<
\d
>LEN=
(?P<tst_len>
[^
\s
]
+
)
\s
+
TOS=
(?P<tst_tos>
[^
\s
]
+
)
\s
+
PREC=
(?P<tst_prec>
[^
\s
]
+
)
\s
+
TTL=
(?P<tst_ttl>
[^
\s
]
+
)
\s
+
ID=
(?P<tst_id>
[^
\s
]
+
)
\s
+
(
DF
\s
+
|
\s
+
)
PROTO=
(?P<tst_proto>
[^
\s
]
+
)
\s
+
<
\d
>SPT=
(?P<tst_src_port>
[^
\s
]
+
)
\s
+
DPT=
(?P<tst_dest_port>
[^
\s
]
+
)
\s
+
/
g
Open regex in editor
Description
no description available
Submitted by
gs
-
8 years ago