Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 20 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Prometheus Exposition metric line
Rust
Prometheus exposition metric line format. Parses metric lines with named capture groups for metric name, labels, value, and timestamp. Excludes comment, type, and help lines. https://prometheus.io/docs/instrumenting/exposition_formats/#line-format
Submitted by
james-jra
-
6 months ago
2023-05-30 09:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rust Phone Number
Rust
not fully featured, but simple.
Submitted by
Jakersnell
-
a month ago
2023-10-23 21:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rust type-like ident casing
Rust
Matches built-in primitives and identifiers with casing conventionally used for type/constant names.
Submitted by
Neel Yadav
-
25 days ago
2023-11-04 19:35
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Grep from A to B
Rust
no description available
Submitted by
anonymous
-
3 years ago
2021-01-03 13:38
(Last modified 4 months ago)
2023-07-25 15:34
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
rustyms: pro forma single modification
Rust
The regex to match a single pro forma modification with all its intricacies.
Submitted by
Douwe Schulte
-
5 months ago
2023-06-21 21:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get python function declaration
Rust
Gets the python function declarations
Submitted by
anonymous
-
7 months ago
2023-05-01 17:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
6 months ago
2023-05-17 21:24
(Last modified 6 months ago)
2023-05-17 21:52
GIIN
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
A
-
N,P
-
Z,0
-
9
]
){6}
\.
(
[
A
-
N,P
-
Z,0
-
9
]
){5}
\.
(
LE
|
SL
|
ME
|
BR
|
SP
)
\.
[
0
-
9
]
{3}
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
ddronenko
-
8 years ago
2015-10-12 11:11