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)
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)
包含多个指定字符
Python
只是包含,无关顺序,且每一个字符都必须包含进去
Submitted by
anonymous
-
4 years ago
2020-01-09 09:20
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)
iso-8601
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-01-09 17:45
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
-
4 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)
jpm pdf 2
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-01-11 17:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
punctuations cleaner
Python
this tool will delete all the punctuation from a text but it will not delete punctuation from numbers.
Submitted by
anonymous
-
4 years ago
2020-01-12 18:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ovostreams part 1
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-01-12 19:36
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)
lkker-cos
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-01-13 08:26
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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK Landline Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-14 13:12
1
...
720
721
722
723
724
725
726
...
871
PHP identifier
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
[
a
-
zA
-
Z_
\x7f-\xff
]
[
a
-
zA
-
Z0
-
9_
\x7f-\xff
]
*
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-11-14 09:55