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
There are currently no sponsors. Click
here
to read more.
Community Patterns
Search among 11,700 community submitted regex patterns...
1
Extract times from a string
PCRE (PHP <7.3)
I use this to extract and later calculate the difference between two times.
Submitted by
Ernie C.
-
9 years ago
0
URL validation with http/https
PCRE (PHP <7.3)
URL validation with http/https
Submitted by
Gunjan
-
9 years ago
0
parse mysqldump INSERT statement field values (handles unescaping)
PCRE (PHP <7.3)
This will parse the fields portion of a mysqldump lines such as: INSERT INTO users VALUES (42,'Bob',12.34,NULL,'It\'s ok!');
Submitted by
Steve Shreeve
-
9 years ago
1
re
Python
no description available
Submitted by
anonymous
-
9 years ago
6
Username:Password
PCRE (PHP <7.3)
Regex For finding username:password
Submitted by
Ghost
-
9 years ago
3
Roman numeral detector
PCRE (PHP <7.3)
Detects valid Roman numerals (up to 3999), and splits into 4 capture groups: thousands, hundreds, tens, and units.
Submitted by
Terence Linnell
-
9 years ago
1
freedns.afraid.org/dynamic/
PCRE (PHP <7.3)
if you use the service you may want to know a state of some responses
Submitted by
KUbo_0
-
9 years ago
1
BinarSkugga's Language Variable Parser
PCRE (PHP <7.3)
Detect and cut lines containing variables.
Submitted by
BinarSkugga
-
9 years ago
3
@font-face stuff
PCRE (PHP <7.3)
bits and pieces of reusable replacements in CSS @font-face rules
Submitted by
mroncetwice
-
9 years ago
1
Test CCPR message
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
afadfad
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
finds the instance of two or more repeating letters
Python
no description available
Submitted by
cp0153
-
9 years ago
1
Replace second grouping with first
PCRE (PHP <7.3)
Identifies two groups, each group using a regex, then replaces group 2 with group 1.
Submitted by
Stuart Shannon
-
9 years ago
1
Extract PORT from URL
PCRE (PHP <7.3)
Extract port from URL
Submitted by
anonymous
-
9 years ago
1
username
PCRE (PHP <7.3)
Letras, Ñ, acentos, números, guión y barra baja
Submitted by
diegosanz
-
9 years ago
1
fact refactor
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
twitter usernames
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Search for progressive download numbre
PCRE (PHP <7.3)
no description available
Submitted by
Antonio Malatesta
-
9 years ago
0
Grep the daily purchase price for 250 g gold from http://www.scheidean
PCRE (PHP <7.3)
Grep the daily purchase price for 250 g gold from http://www.scheideanstalt.de/aktuelle-ankaufskurse/ankaufskurse-barren/: gold=$(wget -q -O- http://www.scheideanstalt.de/aktuelle-ankaufskurse/ankaufskurse-barren/ | grep "250 g" | sed -r 's/^.250 g]>([0-9]+)\.([0-9]+[0-9]+[0-9]+)\,([0-9]+[0-9]+).*$...
Submitted by
MH
-
9 years ago
2
date formatting mm/dd/yyyy format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
528
529
530
531
532
...
585
afadfad
1
Regular Expression
PCRE (PHP <7.3)
/
{
(
[
a
-
zA
-
Z
\-
]
+
(
\(
\d
+
\)
)?
(
\d
+
)?
,
(
..
)?
)+
(
.
*
)
}
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago