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...
0
parcel indentifier WA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
HR Mobile phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
CMS Logs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Commit GitLab
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
idc2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
ZWave command classes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Complex numbers supporting scientific notation and extensive error-checking
PCRE (PHP <7.3)
The regex verifies complex numbers in quite a few mixtures of different floating point representations, with extensive error checking - however, there may be edge cases which i haven't addressed, so feel free to put in more unit tests!
Submitted by
anonymous
-
8 years ago
0
Complex numbers supporting scientific notation and extensive error-checking
PCRE (PHP <7.3)
The regex verifies complex numbers in quite a few mixtures of different floating point representations, with extensive error checking - however, there may be edge cases which i haven't addressed, so feel free to put in more unit tests!
Submitted by
anonymous
-
8 years ago
0
Latex trelated 1
PCRE (PHP <7.3)
find [x]
Submitted by
anonymous
-
8 years ago
0
Spanish phone number
PCRE (PHP <7.3)
This regex includes the +34 or (+34) or not, and all combinations like xxxxxxxxx, xxx xxx xxx, xxx xx xx
Submitted by
anonymous
-
8 years ago
0
Match all CSS classes in a css file ignoring everything else in the file
PCRE (PHP <7.3)
Using it should work with just about any css format ignoring matches from URL's and SVG data.
Submitted by
anonymous
-
8 years ago
0
html link finder
Python
For Object Orientated Programming p188 case study. Finds tag links in str representation of html.
Submitted by
anonymous
-
8 years ago
0
NIR Sécurité Sociale France
PCRE (PHP <7.3)
REGEX for NIR https://fr.wikipedia.org/wiki/Num%C3%A9ro_de_s%C3%A9curit%C3%A9_sociale_en_France
Submitted by
anonymous
-
8 years ago
0
Break up JS file into function parts, name, arguments and body
PCRE (PHP <7.3)
This will match all named functions. PHP code to print: $js = file_get_contents('http://somedomain.com/javascript.js'); $regex = "/function\s+(?\w+)\s\((?(?:+))?\s\)\s(?{(?:+|(?-1))*+})/"; preg_match_all($regex, $js, $jsFunctions, PREG_PATTERN_ORDER);...
Submitted by
Alan Halls
-
8 years ago
0
vsan management log
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
idoc mapping to xsl func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
PATRIC biovar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
new device types
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
CONTAG Auftragsnummern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Hexadecimal Color
PCRE (PHP <7.3)
My First Regex
Submitted by
anonymous
-
8 years ago
1
...
93
94
95
96
97
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
0
-
9A
-
F
]
{1,2}
)
(?:
,
[
0
-
9A
-
F
]
{1,2}
)*
$
/
gm
Open regex in editor
Description
Match one or two digit hex values separated by a comma.
Submitted by
anonymous
-
9 years ago