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,000 community submitted regex patterns...
1
1c document numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Pulling values from weblog
PCRE (PHP <7.3)
Pulling specific values from weblog. In this case, the OS.
Submitted by
SC
-
9 years ago
1
author bibtext
ECMAScript (JavaScript)
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
email matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
url match
PCRE (PHP <7.3)
match the most common url stuctures
Submitted by
whoevor
-
9 years ago
1
a
PCRE (PHP <7.3)
no description available
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
token
ECMAScript (JavaScript)
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
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
1
Search for progressive download numbre
PCRE (PHP <7.3)
no description available
Submitted by
Antonio Malatesta
-
9 years ago
-2
twitter usernames
Python
no description available
Submitted by
anonymous
-
9 years ago
1
fact refactor
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Extract PORT from URL
PCRE (PHP <7.3)
Extract port from URL
Submitted by
anonymous
-
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
afadfad
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
SharePoint File Name Vaidation
ECMAScript (JavaScript)
The file name validation algorithm from MS KB905231, I assumed the prohibited suffixes included the file extension. I.e. 'foo.doc.files' would not match but 'foo.files.doc' would.
Submitted by
David Nelson
-
9 years ago
1
Test CCPR message
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
1
...
111
112
113
114
115
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
[
\+
]
?
\d
{0,3}
(
[
(
]
?
\d
{3}
[
)
]
?
[
-.
]
?
\d
{3}
[
-.
]
?
\d
{2}
[
-.
]
?
\d
{2}
)
/
g
Open regex in editor
Description
Validate Phone number even if contain country code
Submitted by
Jorge Cervantes
-
9 years ago