Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
2
Replace singleline comments with `//` or `/*...*/`, and also multi-line comments in json files.
ECMAScript (JavaScript)
This has been validated against a tsconfig.json file that i'm using and nothing else. It should work fine though. You can use this to replace comments with vscode find and replace, but using the regex in the search field, and '$2' without quotes in the replace field.
Submitted by
anonymous
-
4 years ago
0
Alphanumeric Employee ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
simple wild card
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 3 years ago)
0
DIESEL Floating point numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Floating point numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Extract First Word in a String with Anchor Start and Anchor End
PCRE (PHP <7.3)
Extract First Word in a String with Anchor Start and Anchor End
Submitted by
anonymous
-
4 years ago
-1
Extract Last Word in a String with Anchor Start and Anchor End
PCRE (PHP <7.3)
Extract Last Word in a String with Anchor Start and Anchor End
Submitted by
anonymous
-
4 years ago
-1
IP Address
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Eastlink IPPay transaction - includes error capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
-1
Annuaire Notaires (personnes physique)
PCRE (PHP <7.3)
Annuaire Notaires (détecte les urls des fiches personnes physique)
Submitted by
anonymous
-
4 years ago
0
Url
ECMAScript (JavaScript)
Url minus Protocol
Submitted by
Website
-
4 years ago
0
separador de vogais e espaços
Python
no description available
Submitted by
anonymous
-
4 years ago
0
201105 - Limmex htaccess rule
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Dimensions from part descriptions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Substitution
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
find vindi webhook requests that subscriptions has no order id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
-1
Conditional
PCRE (PHP <7.3)
match String Cool! only if there is a : somewhere preciding it
Submitted by
anonymous
-
4 years ago
0
matching for expression
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
PlayStation Network Identifier | PSNID | PSN | psnid | psn
PCRE (PHP <7.3)
This expression checks whether the string is a valid psnID. between 3 and 16 characters starts with a latin letter [a-zA-Z] can only contains latin letters [a-zA-Z], arabic numbers [0-9], hyphens [-] and underscores [_] ...
Submitted by
anonymous
-
4 years ago
0
payment ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
271
272
273
274
275
...
902
Community Library Entry
0
Regular Expression
Python
r"
class=
\"
blue2
\"
.
+
?
(
.
+
?
)
</h3>
.
+
\n\n.
+
\n\n.
+
\n\n\n\n\n\n.
+
\n\n.
+
\n\n.
+
\n\n.
+
\n\n\n\n\n\n.
+
\n\n.
+
\n\n\n\n\n\n.
+
\n\n.
+
?
(
.
+
?
)
.
+
?
span>
(
.
+
?
)
<img
.
+
\n\n.
+
\n\n\n\n\n\n\n\n.
+
\n\n\n\n\n\n\n\n\n\n.
+
\n\n\n\n.
+
?
h5>
(
.
+
?
)
T
(
.
+
?
)
Z
.
+
?
@
(
.
+
?
)
</h5
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago