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
ESR und ESR+
PCRE (PHP <7.3)
ESR Einzahlungsscheine (CH)
Submitted by
dhu
-
6 years ago
1
UK Telephone Numbers
ECMAScript (JavaScript)
no description available
Submitted by
Riaan Joubert
-
6 years ago
1
Validate image URL
PCRE (PHP <7.3)
Adaptation of RFC-3986 uri validation - https://tools.ietf.org/html/rfc3986 Validates that URL contains an image (jpg/jpeg/png/gif) reference whilst also allowing for queries Key parts of URL are captured in named groups The URL portion is also optional, so will validate just an image filename if r...
Submitted by
Norris
-
6 years ago
1
The Ultmate Email validation regex
PCRE (PHP <7.3)
This regex validates an email against RFC 5322 with RFC 6530 merged in. This allows for checking for International email addresses. Note that this regex works on bytes so any Unicode characters will have to be encoded in UTF-8 before they will pass.
Submitted by
anonymous
-
6 years ago
1
State abbreviations
PCRE (PHP <7.3)
This regex efficiently captures any U.S. state abbreviation in only 117 characters, as opposed to 159 characters to list each state individually.
Submitted by
anonymous
-
6 years ago
1
Version RegEx
PCRE (PHP <7.3)
Matches version numbers consisting of only digits and dots.
Submitted by
anonymous
-
6 years ago
1
Finnish Mobile Number Validation
PCRE (PHP <7.3)
Checks for valid Finnish mobile numbers, takes in to account possible operator codes, different ways of marking country code if supplied and allows for hyphens and spaces in places where they are commonly used.
Submitted by
anonymous
-
6 years ago
1
Web url to image file including capture groups
PCRE (PHP <7.3)
Conforms to various RFC specifications Captures key components of url: Protocol Authority Port...
Submitted by
anonymous
-
6 years ago
1
Look up corresponding value in unsorted list
PCRE (PHP <7.3)
We have a GeoJSON that needs a "war_memorials" attribute added and populated with the correct value. Trouble is the sorting of the Features is not the same as the sorting of the CSV data with the values. So you can't just use a multiple-selection in Sublime Text and paste in place. This solution...
Submitted by
anonymous
-
6 years ago
1
从一个时间段中提取末尾时间点
ECMAScript (JavaScript)
支持仅有日期
Submitted by
anonymous
-
6 years ago
1
Fortnite Matcher for banning Fortnite
PCRE (PHP <7.3)
It is not compatible with leet speak, you can replace all numbers with their letter counterparts before matching the string with regex.
Submitted by
Kyza
-
6 years ago
1
Datumsformat dd.MM.yyyy und yyyy-MM-dd
PCRE (PHP <7.3)
Erkennt Daten der deutschen Schreibweise 10.10.2018 1.2.18 ... und Daten im Format...
Submitted by
anonymous
-
6 years ago
1
Regex for JavaScript Templating
ECMAScript (JavaScript)
Selects everything between two pairs of curly braces
Submitted by
anonymous
-
6 years ago
1
Find CSS hexadecimal color values
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
1
Extraneous slashes in pathnames
PCRE (PHP <7.3)
This regular expression matches all extraneous slashes in pathnames, that can be removed without altering which file the path name resolves into. It is intended to be used like so: Replace $extraslashregex with the actual regular expression. my $cleanpath = $path ~= s/$extraslashregex//gmxXr;...
Submitted by
anonymous
-
6 years ago
1
alineas-ocorrencias
Python
Regex que captura ocorrências "semelhantes" a : 'alinea a', 'alineas a', 'alinea "a"', 'ali. "a"',...
Submitted by
maffei2443
-
6 years ago
1
French Address Regex
PCRE (PHP <7.3)
French address regex Work on ruby
Submitted by
anonymous
-
6 years ago
1
French compass direction abbrevation patern
PCRE (PHP <7.3)
French compass direction abbrevation patern with cardinal, ordinal and half-wind
Submitted by
anonymous
-
6 years ago
1
French compass direction format
PCRE (PHP <7.3)
ordinal, cardinal and half-wind
Submitted by
anonymous
-
6 years ago
1
E-Mail regex
PCRE (PHP <7.3)
A regex to catch all types of e-mail-dresses with a variety of domain names.
Submitted by
anonymous
-
5 years ago
1
...
279
280
281
282
283
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
.
*
\/
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago