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 9,420 community submitted regex patterns...
0
cert
PCRE (PHP <7.3)
cert regex
Submitted by
anonymous
-
a year ago
2
Good enough IPv6
PCRE (PHP <7.3)
A good enough approximation to IPv6 based on the examples at https://www.ibm.com/docs/en/ts3500-tape-library?topic=functionality-ipv4-ipv6-address-formats
Submitted by
mig8447
-
a year ago
0
IBAN SPAIN ESPAÑA WITH SPACES
PCRE (PHP <7.3)
IBAN SPAIN WITH SPACES. ES12 1234 4567 8975 4662 (THIS IS AN EXAMPLE)
Submitted by
anonymous
-
2 years ago
0
Variables 2
PCRE (PHP <7.3)
chingo de cheves y desmadre
Submitted by
anonymous
-
2 years ago
0
Spotify ID regex
PCRE (PHP <7.3)
Spotify ID regex
Submitted by
anonymous
-
2 years ago
0
Convert <a href="x">y</a> to [url=x]y[/url]
PCRE (PHP <7.3)
it took me quite some time to figure out. I hope it'll be helful to someone else.
Submitted by
anonymous
-
2 years ago
0
helix word motion
PCRE (PHP <7.3)
helix word motion
Submitted by
anonymous
-
2 years ago
0
Kafka topic name regex
PCRE (PHP <7.3)
Kafka topic name regex
Submitted by
anonymous
-
2 years ago
0
Get project name from git url
Golang
Used by Zarf to obtain the name of a repository when given a git URL.
Submitted by
Jonathan Perry
-
2 years ago
0
https://regex101.com/r/VrZHR8/1
PCRE (PHP <7.3)
https://regex101.com/r/VrZHR8/1
Submitted by
anonymous
-
2 years ago
0
Extract just YouTube IDs
PCRE (PHP <7.3)
You can easily extract YouTube IDs, excluding the paths and parameters.
Submitted by
anonymous
-
2 years ago
0
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
2 years ago
0
regex only character number and 14 special character
PCRE (PHP <7.3)
regex only character number and 14 special character
Submitted by
hao.nguyen
-
2 years ago
0
filter
PCRE (PHP <7.3)
filter string
Submitted by
anonymous
-
2 years ago
0
1
PCRE (PHP <7.3)
Prueba 1
Submitted by
anonymous
-
2 years ago
0
Filter Special Characters
PCRE (PHP <7.3)
A regular expression to filter special characters.
Submitted by
gwicho38
-
2 years ago
1
ip port proxy scrap
PCRE (PHP <7.3)
1.0.170.50:80 1.1.189.58:8080 1.1.220.100:8080 1.2.252.65:8080 1.20.166.142:8080 1.32.59.217:47045...
Submitted by
anonymous
-
2 years ago
0
mvc
PCRE (PHP <7.3)
com c#
Submitted by
anonymous
-
2 years ago
0
test
PCRE (PHP <7.3)
teste
Submitted by
anonymous
-
2 years ago
0
Ruby Gemspec Versioning
Golang
Determine the version value in a gemspec configuration file
Submitted by
Ori
-
2 years ago
1
...
4
5
6
7
8
...
471
IPv4 w/ w/o port validation and localhost string supported
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
0
-
9
]
{1,2}
)
(
\\
.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
0
-
9
]
{1,2}
)
){3}
)
|
(
localhost
)
)
(
:
(
(
6553
[
0
-
5
]
)
|
(
655
[
0
-
2
]
[
0
-
9
]
)
|
(
65
[
0
-
4
]
[
0
-
9
]
{2}
)
|
(
6
[
0
-
4
]
[
0
-
9
]
{3}
)
|
(
[
1
-
5
]
[
0
-
9
]
{4}
)
|
(
[
0
-
5
]
{1,5}
)
|
(
[
0
-
9
]
{1,4}
)
)
)?
$
|
^$
/
gm
Open regex in editor
Description
IPv4 w/ w/o port validation and localhost string supported
Submitted by
anonymous
-
2 years ago