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...
-1
Teoria 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
email address regex
Python
Extract an email address that's within a string
Submitted by
anonymous
-
4 years ago
0
Use Case 12
PCRE (PHP <7.3)
12 signed JWT base64data DOT base64data DOT base64dataeyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJyZWNvbW1fZW5naW5lIiwiQVBQTElDQVRJT05fVk8iOiJ7XCJhcHBsaWNhdGlvbl9pZFwiOlwicmVjb21tX2VuZ2luZVwiLFwic2VjcmV0XCI6XCJxN2FSVEQlTG5QXCJ9IiwiaWF0IjoxNjAzMDk4OTExLCJleHAiOjE2MDMxMDYxMTF9.ycKnC6aoYDFl3eN9rPay1TbHcOSWL8qchBX...
Submitted by
anonymous
-
4 years ago
0
Use Case 11
PCRE (PHP <7.3)
11 aws access key id AccessKeyId AND base64 encoded 15 bytes string RegEx - to be checked aws_access_key_id = 123456789012 aws_access_key_id = dJPAKRh75gkGBSc13y0M...
Submitted by
sahilkapila
-
4 years ago
-1
Any combo of space and dash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
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
...
271
272
273
274
275
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
]
?
(?:
1
?
\d
(?:
[
\.\,
]
\d
{1,2}
)?
|
20
(?:
[
\.\,
]
0
?
0
?
)?
)
[
]
?
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago