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 440 community submitted regex patterns...
-2
rustyms: pro forma single modification
Rust
The regex to match a single pro forma modification with all its intricacies.
Submitted by
Douwe Schulte
-
a year ago
-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
Grep from A to B
Rust
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 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
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
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
Match non self closing tags HTML/XML tags
Golang
no description available
Submitted by
Richard Peng
-
8 years ago
0
SustituciĆ³n de espacios en blanco al final y al principio de una cadena.
Golang
no description available
Submitted by
anonymous
-
8 years ago
0
Customer
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
image cid
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
lightsail cli scp argument parsing
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
Angular commit
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
jvm core dump grab
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
SuperJS: variable initializement
Golang
Matches a variable with the following syntax; = example string foo = ...
Submitted by
Jordy van Domselaar <jordy.van.domselaar@outlook.com>
-
7 years ago
0
Find ip, link
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
Find ip and link full
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
Checks for PHP classes with namespaces that haven't been imported.
Golang
no description available
Submitted by
anonymous
-
7 years ago
1
2
3
...
22
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago