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. Click
here
to read more.
Community Patterns
Search among 11,420 community submitted regex patterns...
1
Entity framework mappers
.NET 7.0 (C#)
This expression converts a modelbuilder to an IEntityTypeConfiguration class. Useful for tidying up the result of a scaffold operation.
Submitted by
MK
-
5 days ago
(Last modified 5 days ago)
1
Date and age matcher
Python
matches strings like: "01/04/2023", "14/May/24" and "20" (age). WARNING: for american dates swap day and month! Groups: Date - the whole date Day - day Month - month...
Submitted by
OlgPok
-
9 days ago
(Last modified 9 days ago)
1
indented lines with continuation
PCRE (PHP <7.3)
Example taken from SO,
Submitted by
anonymous
-
9 days ago
1
Госуслуги - сопроводительное письмо (недопустимые символы)
.NET 7.0 (C#)
Если вы подаёте электронное заявление через портал Госуслуг и набираете текст в стороннем редакторе, то при попытке отправить такое заявление может появиться ошибка о наличии недопустимых символов. С помощью этого регулярного выражения вы сможете найти недопустимые символы и скорректировать текст с...
Submitted by
NG256
-
19 days ago
1
E-mail validation regex
Python
For Culver City Learn Teach Code 4/16/24 Regex obtained from: https://stackoverflow.com/a/21608456/2683447 List is subset taken from: https://gist.github.com/cjaoude/fd9910626629b53c4d25
Submitted by
anonymous
-
a month ago
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
a month ago
1
Renamer Log file to CSV
PCRE (PHP <7.3)
Catches our log files renamed file names and adds them to CSV file
Submitted by
anonymous
-
a month ago
1
T-SQL find comments in script
.NET 7.0 (C#)
Finds the comments in a t-sql (tsql) script
Submitted by
Paw Jershauge
-
a month 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
-
a month ago
1
PrivtBank Receipt Parser
.NET 7.0 (C#)
PrivtBank Receipt Parser
Submitted by
anonymous
-
a month ago
(Last modified a month ago)
1
PrivtBank Receipt Parser vx520
.NET 7.0 (C#)
PrivtBank Receipt Parser vx520
Submitted by
anonymous
-
a month ago
(Last modified a month ago)
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
2 months ago
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
-
2 months 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
-
2 months ago
(Last modified 2 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
-
2 months ago
1
Mediawiki History Dump filenames
Python
Matches filenames of MediaWiki history dumps.
Submitted by
CristianCantoro
-
3 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
-
3 months ago
(Last modified 3 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
-
3 months ago
1
.*(EXCEL[.]EXE).*(?i)(Maxicredito).*([.]xlsx - Excel)
.NET 7.0 (C#)
.(EXCEL[.]EXE).(?i)(Maxicredito).*([.]xlsx - Excel)
Submitted by
anonymous
-
4 months ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
Submitted by
anonymous
-
4 months ago
1
2
3
...
571
^[A-Z,a-z,\-, ,\&]+$
0
Regular Expression
.NET 7.0 (C#)
@"
^
[
A
-
Z,a
-
z,
\-
,
,
\&
]
+
$
"
gm
Open regex in editor
Description
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
a year ago