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,880 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sentence ending dot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-13 09:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Change tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-13 16:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CSV Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-14 08:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Coralogix default severity regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-14 12:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DC domian name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-14 16:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Data fromato BRL
PCRE (PHP <7.3)
Data no formato Brasileiro
Submitted by
anonymous
-
4 years ago
2019-10-14 18:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Brazilian telefone number regex
PCRE (PHP <7.3)
Regex to get numbers from brazilian telephone number pattern
Submitted by
anonymous
-
4 years ago
2019-10-14 20:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Javascript =>Strict Conditinal Operators
PCRE (PHP <7.3)
// @desc Replaces conditional operators with strict variant /* Matches == */ if (e.keyCode == 68) { doCode() } /* Replacement */ if (e.keyCode === 70) { doCode() } /* Problem != */ if (e.keyCode != 69) { doCode() } /* Replacement */ if (e.keyCode !== 71) { doCode() }...
Submitted by
disk0
-
4 years ago
2019-10-15 04:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
generic regular expression for matching text between brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 06:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regular expression for matching text between brackets and the number after the bracket
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 06:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regular expression for matching text between brackets and the number after the bracket
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 06:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 07:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mot de passe robuste
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 14:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Adresse IPv4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 16:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mot de passe robuste
PCRE (PHP <7.3)
(([a-zA-Z0-9])()([a-zA-Z0-9])().)
Submitted by
anonymous
-
4 years ago
2019-10-15 14:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 14:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find (-) at beginning of line or (-) when preceded by whitespace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 16:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 16:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 16:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
multi-select with lookahead
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-15 17:00
1
...
535
536
537
538
539
540
541
...
594
match comments
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\/\/
.
*
+
|
\/
[
*
]
{1,2}
(
[^
*
]
*
[^
*
\/
]
|
\R
+
+
|
[
*
]
+
[^
*
\/
]
)*
[
*
]
\/
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
monk
-
a year ago
2022-06-24 11:36