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,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Emoji escaper
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2019-01-30 15:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
amazon_api_preview_shipping
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-01-30 15:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
amazon_api_asin_bysku
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-01-30 16:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
4 tokens barcode (01item17expiry11manufacturing10lot)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-01-30 16:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Embedly Providers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2019-01-30 20:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Colar barcodes (special case)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-01-30 21:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEDCO possible example
PCRE (PHP <7.3)
An example of how to capture and chunk out a random string which includes the pager address and text to send, (with spaces)
Submitted by
anonymous
-
5 years ago
2019-01-31 03:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email address
PCRE (PHP <7.3)
Matches an email address in a string.
Submitted by
anonymous
-
5 years ago
2019-01-31 05:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract domain from url
PCRE (PHP <7.3)
From native squid logs, I retrieve url with http* or not. I use the regex to extract the top domain from the url and store it into a variable
Submitted by
anonymous
-
5 years ago
2019-01-31 09:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Obtener tipo y variable para typescript
PCRE (PHP <7.3)
Con las expressioón regular puedo utilizar los reemplazos (VSCODE )para a partir de una interfaz construir un modelo de backbone con get y set public set $1(value) { this.set('$1', value); } public get $1()$2 { return this.get('$1'); }
Submitted by
anonymous
-
5 years ago
2019-01-31 09:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sharps containers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-01-31 21:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
text in url between //
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-01 07:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP and Timestamp extractor
PCRE (PHP <7.3)
extracts IP and Timestamp from log file for further processing.
Submitted by
anonymous
-
5 years ago
2019-02-05 11:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ChatFlow String Finder
PCRE (PHP <7.3)
Use ChatFlow
Submitted by
anonymous
-
5 years ago
2019-02-01 18:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
take the public id from image cloudinary
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-01 18:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL checker
Python
no description available
Submitted by
anonymous
-
5 years ago
2019-02-01 21:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AWS API access key
ECMAScript (JavaScript)
Catching AWS API access keys
Submitted by
anonymous
-
5 years ago
2019-02-02 10:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UGUF - Saison
ECMAScript (JavaScript)
Extract season from different title formats
Submitted by
anonymous
-
5 years ago
2019-02-02 15:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
instagram display url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-02 17:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
hackerrank
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-02 19:32
1
...
722
723
724
725
726
727
728
...
871
Europe - Bulgaria - National ID Number
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
{2}
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
(
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
[
0
-
9
]
{4}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-01-30 21:46