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...
1
Date format
ECMAScript (JavaScript)
date should be in format YYYYMMDDHHMMSS
Submitted by
Prashant Kumar Dubey
-
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
1
Search for progressive download numbre
PCRE (PHP <7.3)
no description available
Submitted by
Antonio Malatesta
-
9 years ago
-1
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
0
token
ECMAScript (JavaScript)
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
9 years ago
1
search text matching any word
ECMAScript (JavaScript)
search text matching any word
Submitted by
Hiren Shah
-
9 years ago
0
date format regex for MM/dd/yyyy in javascript
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Date format regex for ddMMMyyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
date formatting mm/dd/yyyy format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
a
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
url match
PCRE (PHP <7.3)
match the most common url stuctures
Submitted by
whoevor
-
9 years ago
1
Validate cron schedule string
PCRE (PHP <7.3)
Validates a string for valid cron schedules such as 10:45, 11:15 etc.
Submitted by
Michael Sundgaard
-
9 years ago
1
email matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
CronSchedule Verifier
PCRE (PHP <7.3)
Verifies a cron schedule pattern such as: 10:45 or multiple times such as: 11:00 22:10 23:15
Submitted by
Michael Sundgaard
-
9 years ago
1
author bibtext
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Social Security Number (SSN)
ECMAScript (JavaScript)
tests for valid social security numbers according to the social security administration. more specifically: -disallows a group to have all 0s -disallows first group to have all 6s -disallows a ssn to begin with 9 note that this does not test for issued ssn's. that would be impossible to implement h...
Submitted by
noxToken
-
9 years ago
1
...
830
831
832
833
834
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
id='
.
*
?
'
)
(
srcDocId='
.
*
?
'
)
/
gi
Open regex in editor
Description
Identifies two groups, each group using a regex, then replaces group 2 with group 1.
Submitted by
Stuart Shannon
-
9 years ago