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 11,500 community submitted regex patterns...
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
-
a day ago
1
Slash Separated Numbers
Golang
...
Submitted by
Anonymous
-
3 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
-
a month 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
3
**japanese text** to bold <b>japanese text</b>
PCRE (PHP <7.3)
japanese text to bold japanese text 食べるんだ 食べるんだ
Submitted by
kurokuroshii
-
2 months ago
(Last modified 2 months ago)
1
RFC3339 Validator
PCRE (PHP <7.3)
RFC3339 Validator
Submitted by
anonymous
-
2 months ago
(Last modified 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
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
Automod - Discord scam invitations
PCRE (PHP <7.3)
Matches variations of messages commonly used to send Discord scams/hacks. Instructions are written for YAGPDB
Submitted by
paiuxfluens
-
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
Distinguish torrent files (series vs movies) with episode numbers
Python
a modified verison of this awesome regex https://regex101.com/library/yP4bY4 by author firas dib that includes a capture group for episode numbers in addition to season numbers.
Submitted by
SethMacKayChandler
-
5 months ago
(Last modified 5 months ago)
1
Date and age matcher
Python
matches strings like: "01/04/2023", "14/May/24" and "20" (age). WARNING: for american dates swap day and month! Groups: Date - the whole date Day - day Month - month...
Submitted by
OlgPok
-
5 months ago
(Last modified 5 months ago)
1
indented lines with continuation
PCRE (PHP <7.3)
Example taken from SO,
Submitted by
anonymous
-
5 months ago
1
E-mail validation regex
Python
For Culver City Learn Teach Code 4/16/24 Regex obtained from: https://stackoverflow.com/a/21608456/2683447 List is subset taken from: https://gist.github.com/cjaoude/fd9910626629b53c4d25
Submitted by
anonymous
-
6 months ago
1
2
3
...
575
Community Library Entry
1
Regular Expression
Python
r"
(
[
0
-
9
]
{1,2}
:
[
0
-
9
]
{2}
)
(
AM
|
PM
)
(
\n
)
(
.
*
)
\n
"
gmu
Open regex in editor
Description
Fixes battlemetrics newline formatting
Submitted by
Neun
-
4 months ago