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 520 community submitted regex patterns...
1
Initializing identifiers
.NET 7.0 (C#)
Initializing identifiers
Submitted by
anonymous
-
7 months ago
1
Simple URL validation
.NET 7.0 (C#)
Validates protocol, sub-domain, domain, and top-level domain. No port number and query string parameters validation is made.
Submitted by
anonymous
-
8 months ago
1
Kafka loki parser
Golang
Kafka loki parser
Submitted by
anonymous
-
8 months ago
1
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
3
Placeholder resolving
.NET 7.0 (C#)
.Net regular expression for resolving placeholders in the format of ${rewriter(multilevel:key)?fallback} (+ variations)
Submitted by
anonymous
-
8 months ago
1
Extract text strings from repeating text fields followed by a suffix
Java 8
This regex expression is useful for extracting only the text string from a value in a column that may contain values from individual rows with repeat strings tagged with a suffix. For example - Row 1: "Sales (#1)", Row 2: "Sales Match (#2)". From the shared examples, this regex will extract the text...
Submitted by
nilotpalc
-
9 months ago
1
CSV
Java 8
Crude CSV regex to split only by characters surrounded by non-whitespace characters. Ignore that it dosen't highlight all of the other commas in the editor. If you select the g regex flag it will properly show here, but not work in Java. Credit to @merosity (Merosity#0135) on Discord!
Submitted by
Merosity, regice202
-
9 months ago
1
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
9 months ago
1
Match many cases of 8601
Java 8
This is still a working in progress Need to do Unit Tests and search for more use cases Match partial cases of 8601 such as: missing offset missing time...
Submitted by
jpmand
-
9 months ago
(Last modified 9 months ago)
1
Funny Discord Thing
.NET 7.0 (C#)
Submitted by
Deniz-seckin55
-
10 months ago
1
Discord Message JSON
.NET 7.0 (C#)
Regex for a Discord Message as JSON Example JSON for Regex: { "id": "1145344233713188874",...
Submitted by
Deniz-seckin55
-
10 months ago
(Last modified 10 months ago)
1
Discord Message JSON
.NET 7.0 (C#)
Regex for one Discord Message
Submitted by
Deniz-seckin55
-
10 months ago
1
Extract any link or endpoint
Java 8
Extract any link or endpoint from 1- HTML page source 2- HTTP responses 3- JS files Feel free to contact me on Telegram https://t.me/c4ir0 if you:...
Submitted by
Cairo
-
10 months ago
(Last modified 10 months ago)
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
10 months ago
(Last modified 10 months ago)
1
html <Title>
Java 8
htnle
Submitted by
erichologist
-
10 months 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
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
-1
Dart relative import
Java 8
find dart relative import path
Submitted by
sagarpanchal
-
a year ago
2
URL Regex
.NET 7.0 (C#)
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)
0
Catch packages from 'tdnf list' output
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
-
a year ago
1
2
3
4
...
26
OS Grid Reference
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
(
[
sS
]
|
[
nN
]
)
[
a
-
hA
-
Hj
-
zJ
-
Z
]
)
|
(
(
[
tT
]
|
[
oO
]
)
[
abfglmqrvwABFGLMQRVW
]
)
|
(
[
hH
]
[
l
-
zL
-
Z
]
)
|
(
[
jJ
]
[
lmqrvwLMQRVW
]
)
)
\s
?
(
[
0
-
9
]
{5}
)
\s
?
(
[
0
-
9
]
{5}
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago