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 17,260 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Support metrics.agent.grafana.com/module or prometheus.io/module for Ingresses with or without K/V pairs for multiple ports
PCRE2 (PHP >=7.3)
relabel_configs: allow override of the blackbox probing module to use by default the module http_2xx is used, if a single value is specified it will become the default for each target within the ingress a comma-delimited list convention of /foo=http_2xx_post,/bar=http_2xx_put is supported as well, t...
Submitted by
AaronB
-
5 months ago
2023-04-27 01:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Example 1.1: Pet Name
PCRE (PHP <7.3)
Example used in slide 39
Submitted by
anonymous
-
5 months ago
2023-04-27 04:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SparkplugB Topic Pattern
Python
SparkplugB has a specific pattern to the MQTT topic string. Included here is the convention of metrics as a continuation of the topic string (although as an element in the binary payload it is not!)
Submitted by
null-directory
-
5 months ago
2023-04-28 16:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Google Firebase/Firestore Regions Regex
PCRE2 (PHP >=7.3)
It is the regex code used to parse the regions of the servers where Google Firebase, Firestore and Cloudfuntion are hosted. Resources: https://firebase.google.com/docs/firestore/locations https://firebase.google.com/docs/functions/locations
Submitted by
Ramazan Sancar (gh:@ramazansancar)
-
5 months ago
2023-04-29 16:52
(Last modified 5 months ago)
2023-04-29 17:28
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
-
5 months ago
2023-05-01 17:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976Split
Python
walter1976Split
Submitted by
anonymous
-
5 months ago
2023-05-02 03:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976FirstClean
Python
walter1976FirstClean
Submitted by
anonymous
-
5 months ago
2023-05-02 03:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
5 months ago
2023-05-02 03:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
password-6-char-letters-numbers
PCRE2 (PHP >=7.3)
e
Submitted by
anonymous
-
5 months ago
2023-05-02 06:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Don’t
PCRE2 (PHP >=7.3)
Bb
Submitted by
Hi
-
5 months ago
2023-05-02 09:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NIgerian Phone Numbers RegEx Validation
PCRE2 (PHP >=7.3)
This RegEx validates whether a number is in the standard valid Nigerian mobile number format or not.
Submitted by
funmitoblessed
-
5 months ago
2023-05-02 15:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
5 months ago
2023-05-02 16:38
(Last modified 4 months ago)
2023-05-12 16:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Pattern Django
Python
URL Pattern Django
Submitted by
Fernando Olivera
-
5 months ago
2023-05-02 20:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LC - Athento
Python
Expresion regular para extraer informacion desde el titulo de un documento
Submitted by
Fernando Olivera
-
5 months ago
2023-05-02 20:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
primera expresion SA CV
PCRE2 (PHP >=7.3)
.SA.CV
Submitted by
roberto fernandez
-
5 months ago
2023-05-03 00:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Inclusions
PCRE2 (PHP >=7.3)
m
Submitted by
anonymous
-
5 months ago
2023-05-03 12:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date with leap years
PCRE2 (PHP >=7.3)
Accepting every date between 2010 to 2050. Format is YYYY-MM-DD hh:mm
Submitted by
Sten
-
5 months ago
2023-05-03 12:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Innovative
PCRE2 (PHP >=7.3)
Parts
Submitted by
anonymous
-
5 months ago
2023-05-03 15:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Telegram messages url
PCRE2 (PHP >=7.3)
to match telegram messages url
Submitted by
anonymous
-
5 months ago
2023-05-03 18:06
(Last modified 5 months ago)
2023-05-03 18:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
5 months ago
2023-05-03 18:20
1
...
849
850
851
852
853
854
855
...
863