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 9,740 community submitted regex patterns...
0
Substring Matching Word, Hyphen, Underscores and Digits
PCRE (PHP <7.3)
Matches customer portion of call detail records found in the fields dcontext, lastdata, and usefield of an Asterisk CDR table. Additional processing required to get fully clean values.
Submitted by
lindstrom
-
8 years ago
-2
French phone number
PCRE (PHP <7.3)
no description available
Submitted by
Benoit Anastay
-
11 years ago
-2
Password filter
PCRE (PHP <7.3)
a regular expression validate the passowrd. The criteria is that the password should contain atleast one upper case and one lower case letter.
Submitted by
HMK
-
10 years ago
-3
Date and Time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-3
british postcode check
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
British Postcode Check
PCRE (PHP <7.3)
no description available
Submitted by
guest
-
10 years ago
-1
Match the ID on individual Vimeo URLs
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
11 years ago
-1
regex test
PCRE (PHP <7.3)
testing the string abc xyx 12 13 a a b
Submitted by
Alien Coders
-
10 years ago
(Last modified a year ago)
-1
Split address line into street name and house number
PCRE (PHP <7.3)
This regular expression splits an address line like for example "1117 Franklin Blvd" into the street name and house number. It also supports addresses where street name and house number are the other way around (e.g. "Mustermannstr. 1"). Furthermore, this regular expression also supports address li...
Submitted by
Andre Wisplinghoff
-
10 years ago
-1
Integers and Decimals
PCRE (PHP <7.3)
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
9 years ago
-1
HTML Code
PCRE (PHP <7.3)
HTML CODE given by (hex number   OR number   OR name )
Submitted by
novy
-
9 years ago
-18
dd-mm-YYYY HH:mm:ss (year range 1000-2999)
PCRE (PHP <7.3)
Validate Gregorian calendar dates that contain 24-hour times. This will also correctly match the Feb 29 date when it falls on a valid leap year. Leap years occur every 4 years, with one exception: when a year is evenly divisible by 100 but not evenly divisible by 400, the year will not be a leap ye...
Submitted by
Ka.
-
11 years ago
(Last modified a year ago)
-2
Finds HTML img tags
PCRE (PHP <7.3)
no description available
Submitted by
Matt Solum
-
11 years ago
-2
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
1_aa3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Find multiple XML documents in file
PCRE (PHP <7.3)
as title says
Submitted by
Doro
-
10 years ago
-2
indonesian p0rn word filter
PCRE (PHP <7.3)
find and replace bad and p0rn indonesian words
Submitted by
teknokoplak
-
10 years ago
-2
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
9 years ago
-2
Match the first and last char of a word
PCRE (PHP <7.3)
no description available
Submitted by
pedroppinheiro
-
9 years ago
-2
lowercase words followed by uppercase words. Be able to separate words
PCRE (PHP <7.3)
Tinta del paísSuelo: Arena 100%Altitud media: 900mEdad del viñedo: PrefiloxeraRendimiento: 1800 Kg/haLugar: Ribera del Duero, FuentelcéspedBodega:Bodegas y Viñedos Juan Manuel Burgos
Submitted by
Eduard eduard.fabra@uvinum.com
-
9 years ago
1
...
178
179
180
181
182
...
487
Community Library Entry
3
Regular Expression
Golang
`
(?i)
^
(?:
(
[
a
-
z0
-
9-
]
+
|
\*
)
\.
)?
(
[
a
-
z0
-
9-
]
{1,61}
)
\.
(
[
a
-
z0
-
9
]
{2,7}
)
$
`
gm
Open regex in editor
Description
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago