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 17,980 community submitted regex patterns...
1
sql perf log
PCRE (PHP <7.3)
13 fields, 12 comma's from right (all left hand ones need to be ignored as they're part of the sql statements)
Submitted by
Sandra
-
9 years ago
0
Key/Value pairs with multiline support
PCRE (PHP <7.3)
Key/Value pairs with multiline support
Submitted by
Alexander Krutov
-
9 years ago
0
A regex that tries to replace every instance in your site
PCRE (PHP <7.3)
For better exception capturing
Submitted by
anonymous
-
9 years ago
1
Get directive names from javascript code
ECMAScript (JavaScript)
Get directive names from javascript code
Submitted by
OnlineCop
-
9 years ago
1
Name file Val
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Node (common.js) require regex
PCRE (PHP <7.3)
Uses a single string to match any node require variables
Submitted by
amird and andyt
-
9 years ago
-3
ipv4 - short version
PCRE (PHP <7.3)
no description available
Submitted by
gromozeka
-
9 years ago
0
Machine readable passport number (second line)
ECMAScript (JavaScript)
Second line of the machine readable passport, based on the excellent article here - http://www.highprogrammer.com/alan/numbers/mrp.html
Submitted by
Leigh Garland
-
9 years ago
1
Timestamp including time zone information
PCRE (PHP <7.3)
Simple check on the correct format of a time stamp including time zone information
Submitted by
anonymous
-
9 years ago
0
float
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-3
UpperCase words
PCRE (PHP <7.3)
no description available
Submitted by
ivo
-
9 years ago
0
Get attributes values of html tags
PCRE (PHP <7.3)
Allow get the value of the some attributes from a html text
Submitted by
Marcelo Fuentes
-
9 years ago
0
pass
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Read tasks from a RakeFile
PCRE (PHP <7.3)
no description available
Submitted by
Caleb Foster
-
9 years ago
1
replace directive with iife
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Module Name
PCRE (PHP <7.3)
Starts with Alphabet but may contains numbers and underscore _
Submitted by
vCillusion
-
9 years ago
1
File extensie
PCRE (PHP <7.3)
Zoekt naar de punt vóór de extensie en geeft alle tekst terug tot aan het einde v/d string.
Submitted by
anonymous
-
9 years ago
1
To Be Or Not To Be
ECMAScript (JavaScript)
no description available
Submitted by
DawnBridge
-
9 years ago
1
find id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
112
113
114
115
116
...
899
Community Library Entry
0
Regular Expression
Python
r"
(?<=
^
\*
page
)
(?P<pg>
[
\d
]
{1,3}
)
|
(?<!
;
)
(?P<txt_a>
[
]
.
*
)
(?=
\[
lr
\]
\n
)
|
(?<!
;
)
(?P<txt_b>
^
[
]
{2}
.
*
)
|
(?P<txt_c>
@align
anchor=
\"
center
\"
text=
.
+
)
|
(?P<txt_d>
^
[^
*@[;
]
.
+
)
"
gm
Open regex in editor
Description
Attempting to parse Fate/Stay Night scripts nicely
Submitted by
anonymous
-
a year ago