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 11,800 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find_Anything_between_sequences
PCRE (PHP <7.3)
This will find anything between 2 sequences and only return the value
Submitted by
BTW
-
7 years ago
2016-04-28 19:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
MERS-CoV
PCRE (PHP <7.3)
Search text for MERS-CoV references
Submitted by
anonymous
-
7 years ago
2016-04-28 19:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Panda
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-28 17:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract CN from DN (CanonicalName from DistinguishedName)
PCRE (PHP <7.3)
Given a DistinguishedName string, extracts the CN portion, coping with escaped characters
Submitted by
anonymous
-
7 years ago
2016-04-28 16:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RPN calculator grammar
PCRE (PHP <7.3)
For a custom, nested stack, RPN calculator
Submitted by
Alex Pilon
-
7 years ago
2016-04-28 15:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sudo-command
PCRE (PHP <7.3)
unix sudo command search
Submitted by
anonymous
-
7 years ago
2016-04-28 15:04
(Last modified 2 months ago)
2023-07-20 09:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-28 11:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Versione Abbreviata
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-27 17:37
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
get Youtube & Vimeo id
PCRE (PHP <7.3)
grab youtube & vimeo id
Submitted by
mi-ca.ch
-
7 years ago
2016-04-27 11:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
More than 2 empty lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-27 08:47
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
parsing distinguishedName attribute in LDAP
PCRE (PHP <7.3)
parsing distinguishedName attribute in LDAP. Requires g modifier
Submitted by
las68
-
7 years ago
2016-04-27 07:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
shortcode iframe regex
PCRE (PHP <7.3)
shortcode iframe regex
Submitted by
James Peng
-
7 years ago
2016-04-26 21:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
marcel hostnames
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-26 16:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find PHP close tag at end of file
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-26 14:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
crappy method call search (2+ args)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-26 14:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CISCO IP Phone EAP-MD5 Username matching
PCRE (PHP <7.3)
no description available
Submitted by
R. de Jong
-
7 years ago
2016-04-26 11:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
.Net app.config appSettings key value matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-26 11:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
log
PCRE (PHP <7.3)
no description available
Submitted by
lattis
-
7 years ago
2016-04-26 08:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Ip address Validator
PCRE (PHP <7.3)
Validate IP address and IP address range to. xxx.xxx.xxx.xxx and xxx.xxx.xxx.xxx/xxx
Submitted by
nehatiwari
-
7 years ago
2016-04-26 04:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CUW - Remarketing List
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-25 23:51
1
...
453
454
455
456
457
458
459
...
590
Positive Ints
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
+
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2016-03-21 16:43