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 14,900 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Nummerplaat belgie
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-07 12:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BankrekeningNummer Belgie
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-07 12:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Telefoonnummer belgie
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-07 13:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match word without dash
PCRE (PHP <7.3)
the whole word and nothing but the word
Submitted by
anonymous
-
4 years ago
2020-01-07 17:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
homestate: Transition
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-07 20:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
kube-system:tunnel-front
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-08 15:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
trim
ECMAScript (JavaScript)
trim string
Submitted by
fp
-
4 years ago
2020-01-08 16:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
customer:document-templates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-08 19:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Alle erlaubten Zeichen und Dateiendungen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-09 09:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Numbers or Fractions
ECMAScript (JavaScript)
Matches integer numbers, floats and fractions of floats. I.e. "2", "-3.456", "3/4", "2.1/8".
Submitted by
anonymous
-
4 years ago
2020-01-09 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
kube-system:omsagent
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-09 13:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mermaid method parse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-09 21:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match string between brackets with two groups
PCRE (PHP <7.3)
Matches all alphanumeric (\w), underscore and dash (\-) that is included in square brackets ([]). The result gives two groups that can be used with $1 and $2.
Submitted by
anonymous
-
4 years ago
2020-01-10 10:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fox news opinion
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-10 23:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
daily caller
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-10 23:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Github dark theme regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-12 22:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Words in greek
PCRE (PHP <7.3)
Simples expression to match any words in Greek or Ancient Greek.
Submitted by
anonymous
-
4 years ago
2020-01-13 15:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Include homepage URL and UTMs but exclude all other pages
PCRE (PHP <7.3)
Useful for GTM if you want to set up a trigger that only fires on homepage (or to use the ReGex does not Equal option to exclude the homepage..) The key thing is this will also include UTM params.
Submitted by
anonymous
-
4 years ago
2020-01-13 15:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mermaid parse field text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-13 22:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 08:17
1
...
621
622
623
624
625
626
627
...
745
Splitting TPT Data Package
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?:
[^
|
]
*
\|
){34}
[^
|
]
*
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2017-10-06 20:13