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,680 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DACH mob tel
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-05 14:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 06:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Revert
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 09:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JIRA Tickets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 09:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fox EMEA PDP's
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 13:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CEP mask
PCRE (PHP <7.3)
Brazilian CEP mask
Submitted by
anonymous
-
4 years ago
2020-05-06 16:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Negative lookahead to excluded non-Windows Office and a couple others
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-06 18:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Clear
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-07 01:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Consecutive images
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-07 08:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 06:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 06:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN1-v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 07:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN2-v4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 07:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
tilak punctuation regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 07:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
oid test
PCRE (PHP <7.3)
test if a string represents a valid oid
Submitted by
anonymous
-
4 years ago
2020-05-08 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
WaitForKey
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-08 17:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Integers
PCRE (PHP <7.3)
Integers with no leading zeros ie. 0234 or -0486 is invalid
Submitted by
anonymous
-
4 years ago
2020-05-08 17:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Floats
PCRE (PHP <7.3)
Floats including integers that end with "f"
Submitted by
anonymous
-
4 years ago
2020-05-08 17:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Floats
PCRE (PHP <7.3)
Floats including integers that end with "f" Version 2: value will exclude "f"
Submitted by
anonymous
-
4 years ago
2020-05-08 17:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract substring from a string
PCRE (PHP <7.3)
For use with sed you need to escape the parentheses \(
Submitted by
anonymous
-
4 years ago
2020-05-08 19:44
1
...
519
520
521
522
523
524
525
...
584
Public
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?!
^
\/
)
(
\/
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-04-08 16:48