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)
MTR
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-01 22:14
(Last modified 2 years ago)
2021-10-02 00:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML hexadecimal emojis
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-01 22:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPV4 IP address match
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-02 05:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Training Material: Find multiple occurence of same letter.
PCRE (PHP <7.3)
Find multiple occurence of same letter.
Submitted by
anonymous
-
4 years ago
2020-02-02 07:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Training Material: v
PCRE (PHP <7.3)
Find wrong commas and correct them.
Submitted by
anonymous
-
4 years ago
2020-02-02 16:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
One Digit Numbers
PCRE (PHP <7.3)
Found here https://stackoverflow.com/questions/6067592/regular-expression-to-match-only-alphabetic-characters
Submitted by
anonymous
-
4 years ago
2020-02-03 05:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
x:y => y x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-03 07:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Adds ;
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-03 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
x# => float x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 07:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
e
Python
e
Submitted by
anonymous
-
4 years ago
2020-02-03 11:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
f
PCRE (PHP <7.3)
f
Submitted by
anonymous
-
4 years ago
2020-02-03 11:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
g
PCRE (PHP <7.3)
g
Submitted by
anonymous
-
4 years ago
2020-02-03 11:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
h
PCRE (PHP <7.3)
h
Submitted by
anonymous
-
4 years ago
2020-02-03 11:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
i
PCRE (PHP <7.3)
i
Submitted by
anonymous
-
4 years ago
2020-02-03 11:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
j
PCRE (PHP <7.3)
j
Submitted by
anonymous
-
4 years ago
2020-02-03 11:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PHP Log - Timestamp
PCRE (PHP <7.3)
Match timestamp eg.: [08-Jan-2020 08:20:59 UTC]
Submitted by
anonymous
-
4 years ago
2020-02-03 11:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Clerk Receipts
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-02-03 14:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Negstive lookahead of agreements not prersent in search index
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 10:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[2,2] => {2,2}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-03 18:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
public X X(y, => public X X(int y,
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 08:52
1
...
737
738
739
740
741
742
743
...
871
Match substring before and after character
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(?<=
gene=
)
.
+
?
(?=
\]
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-02-20 19:24