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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,920 community submitted regex patterns...
1
Lakar Detector from Astadhyayi source text
ECMAScript (JavaScript)
// 1st: aashirling or vidhiling matches. empty string otherwise. // 2nd: i or e or o or r of lakar name l_ट or l_ङ. "" when अ. // 3rd: ट or ङ. // 4 through 13 are 9 dhatu forms Purusha(/)].
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
Parse OBIS Data
Python
Parsing OBIS Data
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
Discord Anti-Advertisement 2
Rust
Pair this with my Discord AutoMod Anti Advertisement for full protection against invites. Use this with Discord's Built In AutoMod.
Submitted by
dogknife
-
6 months ago
(Last modified 5 months ago)
1
Capture Paragraph Text in html
Python
TLDR: It can be used to capture all the paragraphs from some webnovel sites. *update: testing other sites, I've found it lacking. This is intended to match a tag and it's closing tag. It only matches and captures if there are no other html tags nested in the tag. There is room to adjust with the...
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
Discord Anti Advertisement
Rust
Discord AutoMod Regex Use this Regex with Discord's built-in automod to prevent all invite URLs. This will block discord.gg/ad but not .gg/ad Consider seeing my "strict" version otherwise.
Submitted by
dogknife
-
6 months ago
(Last modified 5 months ago)
1
Discord AutoMod Advert (Strict)
Rust
Use this with Discord automod. Bear in mind, this is "Strict" because it will block discord.gg/myad AND other links such as dsc.gg/myad
Submitted by
dogknife
-
6 months ago
(Last modified 5 months ago)
1
Match non LATIN-9 (ISO 8859-15) characters
ECMAScript (JavaScript)
Matches all non LATIN-9 (ISO 8859-15) characters.
Submitted by
anonymous
-
6 months ago
1
Ansible Playbook Execution - Task Output
Python
Parse Task Titles and capture results/output of each task
Submitted by
Paul Cummings
-
6 months ago
1
Youtube redirect regex
ECMAScript (JavaScript)
Separate the youtube tracking redirect link to its main companions Version 1 Python PHP Version 2...
Submitted by
TS
-
6 months ago
(Last modified 6 months ago)
1
Persian and English Title and Name and Address
ECMAScript (JavaScript)
it is a validator for name, title, address or any texts what need only accept persian-arabic alphabet and english. additional some characters like - ,
Submitted by
saebkhanzadeh
-
6 months ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
6 months ago
1
Get text after parenthesis.
Python
This regular expression helps to get the strings of a line that comes after a parenthesis and a blank space. Could be useful with lines of text with or similar format of the APA citation style: Author (year) title
Submitted by
anonymous
-
7 months ago
1
URLs
ECMAScript (JavaScript)
A simple URL regex that can handle most "properly" formed URLs, and some URIs. It features named groups to easily destruct matches. URIs can use relative paths (../ and ./) to resources. Example (JavaScript) let url = "https://username:password@example.org:8080/path/to/resource?query=term&query=ter...
Submitted by
ephellon
-
7 months ago
(Last modified 4 months ago)
1
CSS classes
ECMAScript (JavaScript)
This selects all (non crazy) CSS class in all valid scenarios
Submitted by
anonymous
-
7 months ago
1
RegEx for Treating Express Route
ECMAScript (JavaScript)
A Regex that can be applied over the following routes pattern: GET ^\/auth\/?(?=\/|$)/generate GET ^\/auth\/?(?=\/|$)/callback Applying it inside a code, it will get like this:...
Submitted by
HorselessName
-
7 months ago
1
IPv4+CIDR(optional)
Python
Strict validator for IPv4 with optional CIDR Disallows 00 in any octet
Submitted by
ophers
-
7 months ago
1
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
7 months ago
1
Email Address Validation
Python
RegEx pattern to match email addresses. Visit the detailed tutorial to learn more.
Submitted by
Minh Vu
-
7 months ago
(Last modified 7 months ago)
1
RFC 2822 standard email validation with limit of chars in name, domain name,and domain
ECMAScript (JavaScript)
Vaild: valid.email@example.com john.doe123@example.co.uk alice_smith@company.org user1234@emailprovider.net...
Submitted by
anonymous
-
7 months ago
(Last modified 7 months ago)
1
Email regex for JS
ECMAScript (JavaScript)
This reges do not covering long emails. It should check domian (64) and page name(255) limits.
Submitted by
SnaYQ
-
7 months ago
(Last modified 7 months ago)
1
2
3
4
5
6
...
296
Rust Phone Number
1
Regular Expression
Rust
r"
\b
[
(
]
?
(?P<areaCode>
\d
{3}
)
[
)
]
?
[
.-
]
(?P<phone>
\d
{3}
[
.-
]
\d
{4}
)
\b
"
gs
Open regex in editor
Description
not fully featured, but simple.
Submitted by
Jakersnell
-
8 months ago