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 2,400 community submitted regex patterns...
1
SVG viewbox parser
Python
for finding and extracting numbers from the viewbox attribute. see also my generalized SVG number regex.
Submitted by
riedler
-
13 minutes ago
1
SVG number syntax
Python
for correctly parsing numbers in SVG attributes like path d or viewBox with regex
Submitted by
riedler
-
15 minutes ago
1
ISO 8601 DURATION - Terraform Validation
Golang
This is made to validate an ISO 8601 input in a Terraform variable validation block: validation { condition = can(regex("^P(\\d+Y)?(\\d+M)?(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+S)?)?$", var.value)) error_message = "The value must be a valid ISO 8601 duration string representing time. (e.g. PT...
Submitted by
anonymous
-
2 days ago
1
Slash Separated Numbers
Golang
...
Submitted by
Anonymous
-
4 days ago
1
Telegram username
Python
Validates and obtains the Telegram user's username according to the rules for creating usernames
Submitted by
okineadev
-
12 days ago
(Last modified 8 days ago)
1
Egyptian Phone Numbers regex Checker
Python
To check for Egyptian phone numbers using a regular expression Format of Egyptian phone numbers: It starts with 01 (indicating mobile numbers). Followed by one of the following digits representing the mobile provider: 0 for Vodafone. 1 for Etisalat....
Submitted by
Assem ELQersh
-
18 days ago
1
East pointer, reference and const to west.
Python
just as god intended. "T const" -> "const T"
Submitted by
SpaghettDev
-
a month ago
(Last modified a month ago)
1
Split Docker image into image name, tag and digest with all optional
Golang
Splits a Docker image string into the separate parts: image, tag, digest tag and digest are optional
Submitted by
Roemer
-
2 months ago
1
Command line parser
.NET 7.0 (C#)
Supports parameters such as keys and values, also parameters enclosed in quotes.
Submitted by
Pavel Bashkardin
-
2 months ago
(Last modified 2 months ago)
1
Комментарии функции БСП
Python
Комментарии к функциям 1С
Submitted by
binx@mail.ru
-
2 months ago
1
search *user=.*
Python
for ansible regex_search in docker envs
Submitted by
anonymous
-
2 months ago
1
.NET CSV parser
.NET 7.0 (C#)
Parses CSV files using comma (,) as delimiter and double quote (") as quoted-field tag. Features: Respects empty fields, including at the beginning and at the end of the line Respects line breaks in quoted fields
Submitted by
kevinhp
-
2 months ago
1
ORCID iD
Python
The ORCID ID (16-digit identifiers) format checker. Reference: Format of the ORCID iD
Submitted by
Ken Lui
-
2 months ago
1
IP address without local
.NET 7.0 (C#)
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
2 months ago
1
Catch domains
Python
Catch domains from str. Details see TEST STRING
Submitted by
Casey TSui
-
2 months ago
1
Battlemetrics line fixer
Python
Fixes battlemetrics newline formatting
Submitted by
Neun
-
4 months ago
1
Multiline CSS to one line CSS example (C#)
.NET 7.0 (C#)
Regex that will match/replace unnecessary whitespaces in CSS code.
Submitted by
Puchkov Eugene
-
4 months ago
(Last modified 4 months ago)
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
4 months ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
4 months ago
(Last modified 4 months ago)
1
Email Validation
.NET 7.0 (C#)
Basic email address validation example
Submitted by
Jeff Mills
-
4 months ago
1
2
3
...
120
Community Library Entry
1
Regular Expression
Python
r"
(
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
"
Open regex in editor
Description
no description available
Submitted by
Jacob
-
11 years ago