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 2,300 community submitted regex patterns...
1
Russian car plate for Python
Python
Regex for matching Russian car plate without region
Submitted by
aalexren
-
6 days ago
1
VALID_IP
Python
VALID_IP checker
Submitted by
GSV
-
16 days ago
(Last modified 16 days ago)
1
YouTube Video ID
Java 8
Gets the ID of a YouTube Video from any link to it.
Submitted by
cheeseburger
-
a month 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
-
a month ago
(Last modified a month 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
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
-
2 months ago
1
Match function declerations in python
Python
This regex will match function declerations in python
Submitted by
danielnachumdev
-
2 months ago
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
3 months ago
1
Parse Address - Prefecture
Java 8
get prefecture from Japanese address
Submitted by
Gary Ascuy
-
3 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
-
3 months 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>
-
3 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
-
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
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
Parse OBIS Data
Python
Parsing OBIS Data
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
Capture Paragraph Text in html
Python
TLDR: It can be used to capture all the paragraphs from some webnovel sites. *update: testing other sites, I've found it lacking. This is intended to match a tag and it's closing tag. It only matches and captures if there are no other html tags nested in the tag. There is room to adjust with the...
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
Ansible Playbook Execution - Task Output
Python
Parse Task Titles and capture results/output of each task
Submitted by
Paul Cummings
-
6 months ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
7 months ago
1
Get text after parenthesis.
Python
This regular expression helps to get the strings of a line that comes after a parenthesis and a blank space. Could be useful with lines of text with or similar format of the APA citation style: Author (year) title
Submitted by
anonymous
-
7 months ago
1
2
3
...
115
Link Matcher v1
0
Regular Expression
Java 8
"
(?<scheme>
https
?
|
s
?
ftp
|
wss
?
|
git
)
:
\/\/
(?<subDomain>
[
a
-
z0
-
9-
]
{1,63}
\.
(?:
[
a
-
z0
-
9-
]
{1,63}
\.
)*
)?
(?<domain>
[
a
-
z0
-
9-
]
{1,256}
)
[
.
]
(?<tld>
[
a
-
z0
-
9
]
+
)
(?:
:
(?<port>
[
0
-
9
]
{1,5}
)
)?
(?<path>
\/
.
*
/
?
)?
"
gm
Open regex in editor
Description
The link matcher regex currently matches the most common types of links.
*Removed other links
Submitted by
IkeVoodoo
-
a year ago
(Last modified a year ago)