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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 2,540 community submitted regex patterns...
1
Siebel Id
Golang
no description available
Submitted by
anonymous
-
7 years ago
1
get video id from youtube link
Golang
no description available
Submitted by
RyuaNerin
-
8 years ago
(Last modified 8 months ago)
1
...
125
126
127
ipv6 Validation
5
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
[
0
-
9A
-
Fa
-
f
]
{1,4}
:
){1,6}
:
)
|
(
(
[
0
-
9A
-
Fa
-
f
]
{1,4}
:
){7}
)
)
(
[
0
-
9A
-
Fa
-
f
]
{1,4}
)
$
/
Open regex in editor
Description
Handle all condition for ipv6 example:
FE80::8329
FE80::FFFF:8329
FE80::B3FF:FFFF:8329
FE80::0202:B3FF:FFFF:8329
FE80::0000:0202:B3FF:FFFF:8329
FE80::0000:0000:0202:B3FF:FFFF:8329
FE80:0000:0000:0000:0202:B3FF:FFFF:8329
Submitted by
Lim Yew Teck, Nicholas
-
9 years ago