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.
Become a sponsor today!
Community Patterns
Search among 15,280 community submitted regex patterns...
1
extract url from text
PCRE (PHP <7.3)
no description available
Submitted by
captain haddock
-
9 years ago
1
jjjj
PCRE (PHP <7.3)
GP \(Slim) . " .&,()-+_#* Line # & Relay/
Submitted by
anonymous
-
9 years ago
1
Business Console
PCRE (PHP <7.3)
no description available
Submitted by
Raghunath Chilkuru
-
9 years ago
1
Validate number in format: +xxxxxxxxxxx
PCRE (PHP <7.3)
Used for number validation in input forms, when number is required to be in international format. You can adjust the required number length by adjusting this part of regex: {6,10}. The bigged the second number, the longer number will pass the match.
Submitted by
Donatas Stončius - donatas@stoncius.lt
-
9 years ago
1
what3words
PCRE (PHP <7.3)
This pattern check three words with a dot separator betwwern words. It use unicode; It is not yest compatible with javascript
Submitted by
tsamaya
-
9 years ago
1
Simple email splitter
PCRE (PHP <7.3)
Split the email and get the user and domain.
Submitted by
Matías Pizarro González
-
9 years ago
1
Bar Number
ECMAScript (JavaScript)
Length of 5 or 7. if 7, it should start with 20.
Submitted by
Chris Roe
-
9 years ago
1
require, require_once, include, include_once search
PCRE (PHP <7.3)
no description available
Submitted by
zooli
-
9 years ago
1
tag searching
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ServiceNow - Retrieve text from an Email
ECMAScript (JavaScript)
retrieve multiple lines from an email body.
Submitted by
Evan Williams
-
9 years ago
1
Single lone digits
PCRE (PHP <7.3)
Find single digits that are not part of an integer. For example, "27" should not match, but "27.1" will match the "1". "27.11" won't match.
Submitted by
Conan Dombroski
-
9 years ago
1
Po box addresses
ECMAScript (JavaScript)
exludes all address with po box
Submitted by
paulo.castro48@gmail.com
-
9 years ago
1
Extract jsfiddle links
PCRE (PHP <7.3)
Extract jsfiddle links
Submitted by
Shrinivas Shukla
-
9 years ago
1
sql: insert into
PCRE (PHP <7.3)
insert into table ( a, b, c ) values ( " insert into values (1,2,3)",1,2.3,"a,b" ); insert into table (ee,bb,cc) values (aa,234,"asj",2.3);
Submitted by
suat erenler - sua.gen.tr
-
9 years ago
1
RGBA color values and opacity matcher
ECMAScript (JavaScript)
Regex to match R-G-B and Opacity with/without "," and even RGBA text It will match rgba(x,x,x,x.x) rgba (x x X x.x) x,x,x,x.x x x x x.x...
Submitted by
Maulik Soni
-
9 years ago
1
Lookahead phone test with formatting
PCRE (PHP <7.3)
Let's say a phone number is valid in case it has 11 digits only (13 in case of using 00 instead of +). Separators could be anywhere. Take the valid numbers and bring to common format. Original idea was deleting all non-digits but using look-ahead made impossible to use + for remove non-digits, it ne...
Submitted by
zolo
-
9 years ago
1
#tag all languages
ECMAScript (JavaScript)
no description available
Submitted by
Farhad
-
9 years ago
1
URL matching
ECMAScript (JavaScript)
no description available
Submitted by
San
-
9 years ago
1
Wzorzec opisujący czas w postaci 000 np 300 np 1256
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
check format to HH:MM
ECMAScript (JavaScript)
check if the format is HH:MM (00:00 is OK, 0:00 is not)
Submitted by
anonymous
-
9 years ago
1
...
81
82
83
84
85
...
764
Po box addresses
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?!
.
*
po
box
|
care
po
|
cma
|
gpo
box
|
locked
bag
|
ms
|
private
bag
|
rsd
|
rmb
|
rms
|
cpa
|
care
of
post
office
|
community
mail
agent
|
community
mail
bag
|
general
post
office
box
|
locked
mail
bag
service
|
mail
service
|
post
office
box
|
poste
restante
|
private
mail
bag
service
|
roadside
delivery
|
roadside
mail
bag
|
roadside
mail
box
|
roadside
mail
service
|
community
postal
agent
)
.
*
$
/
gi
Open regex in editor
Description
exludes all address with po box
Submitted by
paulo.castro48@gmail.com
-
9 years ago