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,000 community submitted regex patterns...
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
0
Mocha Atom Build system Regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Mocha Atom Build system Regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Simple password regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match all lowercase consonants
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Validate cellphones number venezuela
PCRE (PHP <7.3)
Validate cellphones number venezuela
Submitted by
anonymous
-
8 years ago
0
Units.NET - parse pairs of value + unit abbreviation
PCRE (PHP <7.3)
As discussed: https://github.com/anjdreas/UnitsNet/pull/254#discussion_r116360898
Submitted by
Andreas Gullberg Larsen
-
8 years ago
0
rett
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Extract module name from python expression
Python
no description available
Submitted by
anonymous
-
7 years ago
1
...
412
413
414
415
416
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
0
-
9a
-
f
]
{1,4}
:
)+
(
(
[
0
-
9a
-
f
]
{1,4}
)?
:
)+
(
[
0
-
9a
-
f
]
{1,4}
)
(?=
)
/
gm
Open regex in editor
Description
Some cases of ipv6 at string begin
Submitted by
anonymous
-
3 years ago