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 320 community submitted regex patterns...
1
T-SQL find comments in script
.NET 7.0 (C#)
Finds the comments in a t-sql (tsql) script
Submitted by
Paw Jershauge
-
15 days ago
1
INI Parser
.NET 7.0 (C#)
This regular expression has the following features that make it a convenient tool for working with text data. Ignoring syntax errors__ The regular expression is able to ignore syntax errors whenever possible. This allows you to handle data with formatting errors without losing important information....
Submitted by
Pavel Bashkardin
-
16 days ago
1
PrivtBank Receipt Parser
.NET 7.0 (C#)
PrivtBank Receipt Parser
Submitted by
anonymous
-
19 days ago
(Last modified 19 days ago)
1
PrivtBank Receipt Parser vx520
.NET 7.0 (C#)
PrivtBank Receipt Parser vx520
Submitted by
anonymous
-
19 days ago
(Last modified 19 days ago)
1
Parse Address - Prefecture
Java 8
get prefecture from Japanese address
Submitted by
Gary Ascuy
-
a month 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>
-
a month ago
(Last modified a month ago)
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
-
a month ago
(Last modified a month 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
-
2 months ago
1
.*(EXCEL[.]EXE).*(?i)(Maxicredito).*([.]xlsx - Excel)
.NET 7.0 (C#)
.(EXCEL[.]EXE).(?i)(Maxicredito).*([.]xlsx - Excel)
Submitted by
anonymous
-
3 months ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
Submitted by
anonymous
-
3 months ago
1
Match all HTML heading elements and capture their titles
.NET 7.0 (C#)
Useful for matching/finding and capturing/extracting the titles of HTML heading elements. This was used to identify all heading elements within the body of a web page for the purposes of generating a Table of Contents for the page. Note: This expression could be altered for different HTML element ta...
Submitted by
Darius Liktorius
-
3 months ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
5 months ago
1
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
5 months ago
2
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
5 months ago
(Last modified 5 months ago)
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
5 months ago
1
Initializing identifiers
.NET 7.0 (C#)
Initializing identifiers
Submitted by
anonymous
-
5 months ago
1
Simple URL validation
.NET 7.0 (C#)
Validates protocol, sub-domain, domain, and top-level domain. No port number and query string parameters validation is made.
Submitted by
anonymous
-
6 months ago
1
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
3
Placeholder resolving
.NET 7.0 (C#)
.Net regular expression for resolving placeholders in the format of ${rewriter(multilevel:key)?fallback} (+ variations)
Submitted by
anonymous
-
6 months ago
1
Extract text strings from repeating text fields followed by a suffix
Java 8
This regex expression is useful for extracting only the text string from a value in a column that may contain values from individual rows with repeat strings tagged with a suffix. For example - Row 1: "Sales (#1)", Row 2: "Sales Match (#2)". From the shared examples, this regex will extract the text...
Submitted by
nilotpalc
-
7 months ago
1
2
3
...
16
FInd Dates
1
Regular Expression
PCRE (PHP <7.3)
;
\d
{1,2}
\-
\d
{1,2}
\-
\d
{2,4}
;
gmi
Open regex in editor
Description
Find Dates from string
Submitted by
anonymous
-
5 years ago