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 13,880 community submitted regex patterns...
0
Remove Text after Parenthesis
PCRE (PHP <7.3)
/ \).$ / gm \) matches the character ) literally (case sensitive) ...
Submitted by
Dan
-
3 years ago
0
parse log file for message type, message, ticket number and user
Python
for the Google interacting with the OS course final project on Coursera
Submitted by
anonymous
-
3 years ago
0
PHPDocumentor - Add missing @since tags in doc blocks
PCRE2 (PHP >=7.3)
This regular expression helps keeping the PHP documentation up to date by adding the @since tags in the doc block where there are none.
Submitted by
raaaahman
-
3 years ago
0
v1.colName, v2.colName ==> or decode( v1.colName, v2.colName, 1, 0) = 0
PCRE2 (PHP >=7.3)
For Oracle DB, as it doesn't consider null != informed DATE, and considers null != null. For the WHERE clause. = 0 to get differences = 1 to get "sameness"...
Submitted by
R. Moreno
-
3 years ago
0
Validate XML
PCRE2 (PHP >=7.3)
Validate XML
Submitted by
anonymous
-
3 years ago
0
Niledutch voyage regex
Python
s
Submitted by
anonymous
-
3 years ago
0
"zoom" follow bots
PCRE2 (PHP >=7.3)
this is for finding all of the "zoom" follow bots on twitch
Submitted by
Math
-
3 years ago
0
日志解析
PCRE2 (PHP >=7.3)
日志解析
Submitted by
vito
-
3 years ago
0
Getting Parts of URL
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/27745/getting-parts-of-a-url-regex
Submitted by
anonymous
-
3 years ago
0
medicine
PCRE (PHP <7.3)
about medicine
Submitted by
fcs
-
3 years ago
(Last modified 3 years ago)
0
匹配整数(带小数位)
PCRE (PHP <7.3)
匹配小数位的整数,或者匹配整数
Submitted by
solelyli
-
3 years ago
0
texto antes de https
PCRE2 (PHP >=7.3)
lookToo
Submitted by
Daniel Alvarez
-
3 years ago
0
Generate random alpha characters
PCRE (PHP <7.3)
Given a string, generate random alpha characters of a particular length
Submitted by
Chetan
-
3 years ago
0
RegexJSON
PCRE (PHP <7.3)
Json add q
Submitted by
anonymous
-
3 years ago
0
Filename Match and Parsing.
PCRE2 (PHP >=7.3)
Parse a filename into path, filename and extension (directory names are windows style, but changeable). Matches are accessible by name and number. This is dependent on PCRE compatibility. It uses (DEFINE) non-consuming group definitions and back references. The only good description of using thi...
Submitted by
anonymous
-
3 years ago
0
Numbered List Pattern
Python
Tte pattern to grep the multilayer numbered list bullets: 1. level 1 1.2. level 1.2 1.2.1. level 2.1 1.3. level 1.3 1.4. level xxx...
Submitted by
anonymous
-
3 years ago
0
Mac Address
PCRE (PHP <7.3)
Mac address is 6 parts of 2 hexadecimal digits separated by a special character "-" so, there are 5 parts of digits followed by the character "-" then, one part without that character.
Submitted by
EMAM1999
-
3 years ago
0
regex for website links
PCRE2 (PHP >=7.3)
for links
Submitted by
mohammad sultan
-
3 years ago
0
regex_emplacement_bl
PCRE2 (PHP >=7.3)
regex_emplacement_bl
Submitted by
GuiF
-
3 years ago
0
regex_investir_bl
Python
guif
Submitted by
guif
-
3 years ago
(Last modified 3 years ago)
1
...
576
577
578
579
580
...
694
apache access log
3
Regular Expression
PCRE (PHP <7.3)
/
(
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)
-
-
\[
(
\d
{2}
\/
[
a
-
zA
-
Z
]
{3}
\/
\d
{4}
:
\d
{2}
:
\d
{2}
:
\d
{2}
(
\+
|
\-
)
\d
{4}
)
\]
(
(
\"
(
GET
|
POST
|
HEAD
|
OPTIONS
)
)
(
.
+
)
(
HTTP
\/
1
\.
(
1
|
0
)
"
)
)
(
\d
{3}
)
(
\d
+
)
(
[
"
]
(
(
\-
)
|
(
.
+
)
)
[
"
]
)
(
[
"
]
(
.
+
)
[
"
]
)
/
Open regex in editor
Description
parse the apache access log
Submitted by
pagu
-
8 years ago