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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 220 community submitted regex patterns...
-2
Ascending and Descending order
Java 8
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
a year ago
-1
IPv4 Matcher
Java 8
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
-
4 years ago
-1
Dart relative import
Java 8
find dart relative import path
Submitted by
sagarpanchal
-
a year ago
-1
Capturing groups with suffix
Java 8
Capturing the content of column names which are duplicate in nature to extract the actual name and suffix ("right" / "left")
Submitted by
anonymous
-
a year ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
10 years ago
(Last modified a year ago)
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
8 years ago
(Last modified a year ago)
0
ПОДЛЕСОК
Java 8
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 5 months ago)
0
Fund - Arriving in Kathmandu
Java 8
Simple regex for Softuni
Submitted by
anonymous
-
4 years ago
0
笔试
Java 8
笔 试字符串检查regex
Submitted by
bgst009
-
4 years ago
0
Alien Registration Number
Java 8
Alien Registration Number
Submitted by
anonymous
-
4 years ago
0
({( ?){ ( ?)(.*) ( ?)}( ?)})
Java 8
{ { I\'m so {cool}, I\'m nested }} I\'m neither { I\'m just boring normal braces }
Submitted by
anonymous
-
4 years ago
0
OmegaT exercise: separators in figures (en -> es)
Java 8
Replace thousand and decimal separators
Submitted by
anonymous
-
4 years ago
0
OmegaT exercises
Java 8
OmegaT exercises
Submitted by
msoutopico
-
4 years ago
0
Regex to replace path in apache rewrite
Java 8
This regex convert following text: /research/the-123s-of-school-choice/ INTO: /research-library/?report=the-123s-of-school-choice
Submitted by
Suman Maharjan
-
4 years ago
(Last modified 4 years ago)
0
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
4 years ago
0
Regex to capture AlphaNumeric String of 7 or 11 length(Must contain at least one Alphabet and Must contain at least one Numeric)
Java 8
Regex to capture AlphaNumeric String Length should be 7 or 11 Must contain at least one Alphabet Must contain at least one Numeric
Submitted by
Suman Maharjan
-
4 years ago
0
my regex
Java 8
test
Submitted by
anonymous
-
4 years ago
0
http{s} non-capturing regex kotlin
Java 8
This is a kotlin implementation of a http{s} protocal check for when routing
Submitted by
yugely
-
4 years ago
0
Kotlin FTP Proto Check
Java 8
ftpProtoCheck
Submitted by
anonymous
-
4 years ago
0
Therapi param type name fix
Java 8
This regex extracts only the param type and omits any prefixed annotations included in the name.
Submitted by
anonymous
-
4 years ago
1
2
3
...
11
Community Library Entry
12
Regular Expression
Python
r"
(
^
https
?
://
)?
(
\w
+
)?
\.
?
(
reddit
\.
com/
|
redd
\.
it/
)
(
r/
\w
+
/
)?
(
comments/
)?
(
\w
+
)
"
gm
Open regex in editor
Description
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
10 years ago