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 5,680 community submitted regex patterns...
1
Voice of the World
Python
Voice of the World Matches lines spoken by the Voice of the World in the web novel Super Gene.
Submitted by
maxludden
-
4 days ago
1
AWS EventBridge Scheduling Expressions
Java 8
This validates AWS EventBridge scheduling expressions using the rate() and cron() formats. It may not catch all invalid expressions, but it should properly validate all valid expressions, as demonstrated in the unit tests. Please let me know if I missed any valid expressions. Originally attempted ...
Submitted by
Evan S Kaufman <evan@evanskaufman.com>
-
6 days ago
(Last modified 4 days ago)
1
JS/ECMAScript - Comprehensive Telephone Number Parser - US Domestic and Overseas - with NAMED Match Data
ECMAScript (JavaScript)
Explanation Breaks out a phone number input into the following named segments: Opt? Matches Name Desc Y (+ - . :space:) LEADING_PUNCT Leading Punctuation Y 1-3 Digits (0-9) COUNTRY_CODE International country code (US: '1') Y (- . :space:) OPT_...
Submitted by
@JJ/ZenAtWork NerdyDeeds, LLC
-
7 days ago
1
O group
ECMAScript (JavaScript)
Oracle Software Owner for Each Oracle Software Product You can create a single user (for example, oracle) to own both Oracle Database, and Oracle Restart installations. However, Oracle recommends that you create one software owner to own each Oracle software installation (typically, oracle, for the ...
Submitted by
anonymous
-
9 days ago
1
Smax micro focus Web ports regex
ECMAScript (JavaScript)
Smax micro focus Web ports regex
Submitted by
Resul MUŞLU
-
11 days ago
1
RM
ECMAScript (JavaScript)
Smax Micro Focus Regex
Submitted by
Resul MUŞLU
-
11 days ago
(Last modified 11 days ago)
1
Python logs parser (Airflow)
Python
Parser for individual row of log pattern for parsing row in format: [2023-03-11 00:00:07,377] {taskinstance.py:1088} INFO - Starting attempt 1 where: - time_full: [2023-03-11 00:00:07,377]...
Submitted by
anonymous
-
18 days ago
1
IPv4 address with optional CIDR suffix
ECMAScript (JavaScript)
Matches any valid IPv4 address with, optionally, a CIDR suffix. 0.0.0.0 to 255.255.255.255 and 1.1.1.1/0 to 1.1.1.1/32. Use the following regex if you don't want to allow the CIDR suffix. /^(?:(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))\.){3}(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))$/...
Submitted by
MAZ01001
-
21 days ago
1
IANA Media Type
Java 8
Parses an IANA Media Type value. Doesn't seem to capture repeating parameters, which is a bit of an edge case but valid I think - any suggestions on how to fix would be appreciated.
Submitted by
scottbdr
-
a month ago
1
Mediawiki History Dump filenames
Python
Matches filenames of MediaWiki history dumps.
Submitted by
CristianCantoro
-
a month ago
1
URL
ECMAScript (JavaScript)
Match a URL and capture its parts. Please suggest your improvements.
Submitted by
Lamer217
-
a month ago
1
JavaScript number literals
ECMAScript (JavaScript)
Should match any valid JavaScript number literal. Allow _ as a numerical separator, leading/trailing dot and 0, and test for prefix 0b (binary), 0o (octal), and 0x (hexadecimal). See the second paragraph of EDIT 4 in this StackOverflow answer by me for matching JS numbers.
Submitted by
MAZ01001
-
a month ago
(Last modified 21 days 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
-
a month ago
1
Randomizer Template
ECMAScript (JavaScript)
Randomizer Template
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
a month ago
(Last modified a month 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
-
a month ago
(Last modified a month ago)
1
Quartz CRON Validation with groups
ECMAScript (JavaScript)
CRON validation Validates CRON pattern (Quartz) and supports groups. Useful for e.g. typescript or other typed languages. The following greoups are covered: second...
Submitted by
Nico Vitt
-
a month 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
-
a month 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
-
2 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
-
2 months ago
(Last modified 2 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
-
2 months ago
(Last modified 2 months ago)
1
2
3
...
284
RFC5322-Email-Id-WHATWG
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
.
{3,254}
$
)
[
\w
\!
#
\$
%&'
\*\+\/\=\?\^
_`
\{\|\}
~
\-
]
(
[
\w
\.\!
#
\$
%&'
\*\+\/\=\?\^
_`
\{\|\}
~
\-
]
{0,62}
[
\w
\!
#
\$
%&'
\*\+\/\=\?\^
_`
\{\|\}
~
\-
]
)?
@
[
\w
]
(
[
\w
-
]
{0,61}
[
\w
]
)?
(
\.
[
\w
]
(
[
\w
-
]
{0,61}
[
\w
]
)?
)*
$
/
gi
Open regex in editor
Description
RFC5322 with WHATWG standard email id regex pattern
Submitted by
Sivanesan
-
2 years ago