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,020 community submitted regex patterns...
-1
RegExp black list example usage
PCRE (PHP <7.3)
no description available
Submitted by
Vadim Markovtsev
-
10 years ago
-1
Alternative With Capture Groups
Python
Capture alternative items matching end of lines country codes
Submitted by
Branden
-
10 years ago
-1
text beetween text
Python
no description available
Submitted by
karol
-
10 years ago
-1
woop
Python
no description available
Submitted by
anonymous
-
10 years 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
UK Postcode Validation
ECMAScript (JavaScript)
Matches all valid, current UK Postcodes, including Girobank and non-geographic postcodes, irrespective of whether they contain a space. It does not include overseas territories. Adapted from the BS7666 postcode rules at http://www.cabinetoffice.gov.uk/govtalk/schemasstandards/e-gif/datastandards/add...
Submitted by
Ti Marner
-
10 years ago
-1
date format for year 2000 above
Python
no description available
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
website
PCRE (PHP <7.3)
If needed to test entered website
Submitted by
Max Shishkov
-
9 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
bibtex entries
Python
match bibtex entries
Submitted by
Sixue Qin
-
9 years ago
-1
Java single line comment matcher
Python
This regex matches java line end comments started with "//" and ignores such ones that are within String literals. (NO SUFFICIENT TESTING WAS DONE TO GUARANTEE 100% SAFETY)
Submitted by
Janis Schöck
-
9 years ago
-1
word_to_match
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
IP address
Python
Looks for string formated like an IP address.
Submitted by
anonymous
-
9 years ago
-1
mongo db email validation
Python
email validation based on the restrictions for entering email adresses into a mongo db email field.
Submitted by
levire.com
-
9 years ago
-1
Phone number validator
Python
Validates all possible international phone number formats. Icludes almoust all of the international call prefixes, all of the differing lenghts of country codes. The parts of number will always be recognised correctly. Additionally you could add limitations of the phone number's lenght
Submitted by
Ādams Muzikants
-
9 years ago
-1
xml
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
IP address regex of IPV4
PCRE (PHP <7.3)
The given regex matches the IPV4 address of given ip address string.
Submitted by
Ayush
-
9 years ago
-1
Street, City, State|State Code, Zip
PCRE (PHP <7.3)
Matches the following format of US address: Street, City, State|State Code, Zip Example: 765757 North Nevada Avenue, Colorado Springs, CO, 80918
Submitted by
Chandan Kumar Sinha
-
9 years ago
-1
localhost match range ip with port number
Python
Matches all ips that points to localhost like, optionally capturing port number: 127.X.X.X and 127.X.X.X:
Submitted by
Rodrigo M. A.
-
9 years ago
1
...
10
11
12
13
14
...
901
Community Library Entry
-1
Regular Expression
PCRE (PHP <7.3)
/
Aankomst:
\s
MAANDAG
\s
(
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
)
\s\s\s\s
Vertrek:
|
dinsdag
\s
(
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
)
\s\s\s\s
Vertrek:
|
woensdag
\s
(
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
)
\s\s\s\s
Vertrek:
|
donderdag
\s
(
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
)
\s\s\s\s
Vertrek:
|
vrijdag
\s
(
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
)
\s\s\s\s
Vertrek:
|
zaterdag
\s
(
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
)
\s\s\s\s
Vertrek:
|
zondag
\s
(
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
\/
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
)
\s\s\s\s
Vertrek:
/
i
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago