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 15,240 community submitted regex patterns...
1
GS1 Transport Label (EAN-128) and parse the application identifiers datafields
.NET 7.0 (C#)
A regex to parse the GS1-128 transport / shipping label from multiple EAN-128. The Regex is generated from the offical GS1 specification will identify all datafields Like for example AI 00: Serial Shipping Container Code (SSCC) AI 01: Global Trade Item Number (GTIN) AI 02: Identification of trade i...
Submitted by
anonymous
-
3 months ago
(Last modified 3 months 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
-
4 months 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
-
4 months ago
1
Smax micro focus Web ports regex
ECMAScript (JavaScript)
Smax micro focus Web ports regex
Submitted by
Resul MUŞLU
-
4 months ago
1
RM
ECMAScript (JavaScript)
Smax Micro Focus Regex
Submitted by
Resul MUŞLU
-
4 months ago
(Last modified 4 months 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
-
4 months 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
-
4 months 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
-
4 months ago
1
Mediawiki History Dump filenames
Python
Matches filenames of MediaWiki history dumps.
Submitted by
CristianCantoro
-
4 months ago
1
Detect Multiple File Extensions
PCRE (PHP <7.3)
I use this to find files with two or more extensions (i.e. file.txt.txt). This will work with files with 3 or 4 character or numeric (or both) file extensions (i.e. pdf, xlsx).
Submitted by
Curve
-
4 months ago
(Last modified 4 months ago)
1
URL
ECMAScript (JavaScript)
Match a URL and capture its parts. Please suggest your improvements.
Submitted by
Lamer217
-
4 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
-
4 months ago
(Last modified a month 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
-
4 months ago
1
Randomizer Template
ECMAScript (JavaScript)
Randomizer Template
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
4 months ago
(Last modified 4 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
-
5 months ago
(Last modified 5 months 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
-
5 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
-
5 months ago
1
.*(EXCEL[.]EXE).*(?i)(Maxicredito).*([.]xlsx - Excel)
.NET 7.0 (C#)
.(EXCEL[.]EXE).(?i)(Maxicredito).*([.]xlsx - Excel)
Submitted by
anonymous
-
5 months ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
Submitted by
anonymous
-
5 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
-
5 months ago
1
2
3
4
5
6
...
762
Regex for telephone numbers all over the world
72
Regular Expression
Recommended
ECMAScript (JavaScript)
/
(?:
(
[
+
]
\d
{1,4}
)
[
-.
\s
]
?
)?
(?:
[
(
]
(
\d
{1,3}
)
[
)
]
[
-.
\s
]
?
)?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,9}
)
/
g
Open regex in editor
Description
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
10 years ago
(Last modified 9 months ago)