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 11,640 community submitted regex patterns...
1
Battlemetrics line fixer
Python
Fixes battlemetrics newline formatting
Submitted by
Neun
-
17 days ago
1
Automod - Discord scam invitations
PCRE (PHP <7.3)
Matches variations of messages commonly used to send Discord scams/hacks. Instructions are written for YAGPDB
Submitted by
paiuxfluens
-
18 days ago
1
Multiline CSS to one line CSS example (C#)
.NET 7.0 (C#)
Regex that will match/replace unnecessary whitespaces in CSS code.
Submitted by
Puchkov Eugene
-
21 days ago
(Last modified 21 days ago)
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
24 days ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
a month ago
(Last modified a month ago)
1
Email Validation
.NET 7.0 (C#)
Basic email address validation example
Submitted by
Jeff Mills
-
a month ago
1
YouTube Video ID
Java 8
Gets the ID of a YouTube Video from any link to it.
Submitted by
cheeseburger
-
2 months ago
1
Distinguish torrent files (series vs movies) with episode numbers
Python
a modified verison of this awesome regex https://regex101.com/library/yP4bY4 by author firas dib that includes a capture group for episode numbers in addition to season numbers.
Submitted by
SethMacKayChandler
-
2 months ago
(Last modified 2 months ago)
1
password
.NET 7.0 (C#)
password validator
Submitted by
anonymous
-
2 months ago
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
-
2 months ago
(Last modified 2 months 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
-
2 months ago
(Last modified 2 months ago)
1
indented lines with continuation
PCRE (PHP <7.3)
Example taken from SO,
Submitted by
anonymous
-
2 months ago
1
Госуслуги - сопроводительное письмо (недопустимые символы)
.NET 7.0 (C#)
Если вы подаёте электронное заявление через портал Госуслуг и набираете текст в стороннем редакторе, то при попытке отправить такое заявление может появиться ошибка о наличии недопустимых символов. С помощью этого регулярного выражения вы сможете найти недопустимые символы и скорректировать текст с...
Submitted by
NG256
-
3 months 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
-
3 months ago
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
3 months 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
-
3 months 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
-
3 months 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
-
3 months ago
(Last modified 2 months ago)
1
PrivtBank Receipt Parser
.NET 7.0 (C#)
PrivtBank Receipt Parser
Submitted by
anonymous
-
3 months ago
(Last modified 3 months ago)
1
PrivtBank Receipt Parser vx520
.NET 7.0 (C#)
PrivtBank Receipt Parser vx520
Submitted by
anonymous
-
3 months ago
(Last modified 3 months ago)
1
2
3
...
582
Battlemetrics line fixer
1
Regular Expression
Python
r"
(
[
0
-
9
]
{1,2}
:
[
0
-
9
]
{2}
)
(
AM
|
PM
)
(
\n
)
(
.
*
)
\n
"
gmu
Open regex in editor
Description
Fixes battlemetrics newline formatting
Submitted by
Neun
-
17 days ago