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 13,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
videobin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-03 05:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML Comment Remover
PCRE (PHP <7.3)
With that you can remove all comentaries from html code
Submitted by
anonymous
-
4 years ago
2019-11-03 08:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number
PCRE (PHP <7.3)
Regex to group phone numbers.
Submitted by
anonymous
-
4 years ago
2019-11-03 14:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
xplane set value with avandro
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 22:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[DQL] - Comando e Valores
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-04 04:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Stopword liste Voyant til R
PCRE (PHP <7.3)
Opgave 1 - Stopword liste Voyant til R
Submitted by
anonymous
-
4 years ago
2019-11-04 10:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Stopword liste R til Voyant
PCRE (PHP <7.3)
Opgave 2 - Stopword liste R til Voyant
Submitted by
anonymous
-
4 years ago
2019-11-04 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OS Paths
PCRE (PHP <7.3)
Windows Linux and Web OS Paths checked Regex
Submitted by
anonymous
-
4 years ago
2019-11-04 12:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mongodb_log_locks_v1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 10:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find all words with 5 letters last letter z
Python
Write a regular expression which would find all words which have exactly 5 letters in them, of which the last letter is a "z".
Submitted by
anonymous
-
4 years ago
2019-11-05 19:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find all words which have 2 characters, then EITHER OR then POINTER
Python
Write a regular expression to find all words which have the first two characters of "ab", and after that at some point EITHER a "z" or a "y", and then after that at some point an "s". The "s" does not have to be at the end of the word. So the following words are all examples of words which you shou...
Submitted by
anonymous
-
4 years ago
2019-11-05 19:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find all words with Character and specific string and end in y
Python
Supply an appropriate regular expression which will find all words which have the character ‘a’ in them, then 0 or more characters later have the string “epe”, then 0 or more characters later have the character “y”. The “y” character must occur AT THE END of the word in question, but the first ‘a’ d...
Submitted by
anonymous
-
4 years ago
2019-11-05 19:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
accurate Base64 validation
PCRE (PHP <7.3)
Invalid entries still can be interpreted, e.g. encode(0xAB) => qw== however invalid encoding qx== still can be correctly decoded: ...
Submitted by
anonymous
-
4 years ago
2019-11-05 19:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
3 digits surrounded by blanks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 20:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Adresse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-06 15:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid OAuth scope
PCRE (PHP <7.3)
Validates a common format for OAuth scopes.
Submitted by
anonymous
-
4 years ago
2019-11-06 16:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid Date Finder
PCRE (PHP <7.3)
FInds a valid date string in the formats mm-dd-yy or mm/dd/yy, as well as mm-dd-yyyy and mm/dd/yyyy.
Submitted by
anonymous
-
4 years ago
2019-11-06 17:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test for occurrences of XCTest @testable annotation usage
PCRE (PHP <7.3)
There may be circumstances when you need to determine if there is any usage of XCTest's @testable annotation in unit test cases. One usage of this regex could be for a custom SwiftLint rule to require or disallow usage of @testable
Submitted by
anonymous
-
4 years ago
2019-11-06 19:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-12 23:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Name w/ unicode
Python
no description available
Submitted by
anonymous
-
4 years ago
2019-11-07 11:42
1
...
543
544
545
546
547
548
549
...
671
Mysql Transaction info
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
\,\
ACTIVE
\
(
\d
+
)
.
+
$
/
gim
Open regex in editor
Description
Loading markdown...
Submitted by
Nikola Kostadinov
-
8 years ago
2016-01-13 13:00