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 5,740 community submitted regex patterns...
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
-
a year 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
-
10 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
-
10 months ago
(Last modified 10 months ago)
1
Ansible Playbook Execution - Task Output
Python
Parse Task Titles and capture results/output of each task
Submitted by
Paul Cummings
-
10 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
-
10 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
-
10 months ago
(Last modified 9 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
-
10 months ago
(Last modified 9 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 th...
Submitted by
anonymous
-
10 months ago
(Last modified 10 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
-
10 months ago
(Last modified 9 months ago)
1
Parse OBIS Data
Python
Parsing OBIS Data
Submitted by
anonymous
-
10 months ago
(Last modified 10 months ago)
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
-
9 months ago
(Last modified 9 months ago)
1
Belgian license plate regex
ECMAScript (JavaScript)
Regex supporting new old license plates from Belgium but dus not support custom license plates
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)
1
Typographic correction for SI units
ECMAScript (JavaScript)
Matches quantities dimensioned by SI units in typical markdown-formatted plaintext documents. Replaces any spaces or HTML entities between the number and its dimensions with a "narrow non-breaking space" character. This character may fallback to a "thin space" due to its font support. The lexicograp...
Submitted by
ecfrechette
-
9 months ago
(Last modified 9 months ago)
1
Dimensioned quantities in markdown, selected units
ECMAScript (JavaScript)
A more general match for numbers with units/dimensions in plaintext. This is unoptimized, a bit rough, and leaves out plenty of units while including some oddities. Use it as the first step to something better if you're linting md files. This was good enough for my use case, which doesn't care much ...
Submitted by
ecfrechette
-
9 months ago
1
Ateco Code Validation
Python
Ateco Groups Regex to identify the groups that make up the ateco code, based on its structure. More details: https://www.istat.it/it/archivio/17888 Valid Ateco: 01 - 28.2 - 24.45 - 46.74.1 - 46.73.22...
Submitted by
christian dalena
-
8 months ago
1
Remover \x160 e arrumar texto para dados com tabulação
ECMAScript (JavaScript)
Remove caracteres ocultos (\x160) e arruma textos com espaços extras antes e depois da palavra para dados tabulados (com tab)
Submitted by
Danilo Ikebara
-
8 months ago
(Last modified 8 months ago)
1
Randomizer Template
ECMAScript (JavaScript)
Randomizer Template
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
8 months ago
(Last modified 8 months ago)
1
Excel CSV Parser
ECMAScript (JavaScript)
I'm dealing quite a lot w this. This CSV Parser is used for Js (particularly for my current project wrting script for After Effects through ExtendScript)
Submitted by
binguine
-
8 months ago
1
JavaScript number literals
ECMAScript (JavaScript)
Should match any valid JavaScript number literal incl. bigint. See EDIT 4 in this StackOverflow answer by me for matching JS numbers. open in regex101 editor - example matches and unit tests\ Regulex%7C%5BoO%5D%3F%5B0-7%5D(%3F%3A_%3F%5B0-7%5D%2B)%7C%5BxX%5D%5B0-9a-fA-F%5D(%3F%3A_%3F%5B0-9a-fA-F%5D...
Submitted by
MAZ01001
-
8 months ago
(Last modified 5 months ago)
1
URL
ECMAScript (JavaScript)
Match a URL and capture its parts. Please suggest your improvements.
Submitted by
Lamer217
-
8 months ago
1
...
113
114
115
116
117
...
287
Community Library Entry
0
Regular Expression
Python
r"
(?P<nom>
^
[
\w\d
]
?
)
\/
(?P<latfield>
(?P<latflag>
[
NS
]
)
(?P<latval>
\d
{1,2}
d
[
0
-
5
]
\d
?
(
\.
\d
*
)?
)
)
\/
(?P<lonfield>
(?P<lonflag>
[
EW
]
)
(?P<lonval>
[
01
]
?
\d
{1,2}
d
[
0
-
5
]
\d
?
(
\.
\d
*
)?
)
$
)
"
s
Open regex in editor
Description
Text fields describing a name and positions
Submitted by
bruno.piguet@meteo.fr
-
11 years ago