Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Decimal number
Matches any decimal number. Supports positive/negative sign, thousands separators, and implicit zeros.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
10 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Unformatted Decimal number
Matches any mathematically correct decimal number which is not formatted.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
10 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Unformatted Dozenal number
Matches any mathematically correct dozenal number which is not formatted.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
10 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Dozenal number
Matches any dozenal number. Supports positive/negative sign, thousands separators, and implicit zeros.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
10 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Dozenal number (Restricted)
Matches dozenal numbers. Supports positive/negative sign and thousands separators.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
10 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Decimal number (Restricted)
Matches decimal numbers. Supports positive/negative sign and thousands separators.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
10 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
ip port proxy scrap
1.0.170.50:80 1.1.189.58:8080 1.1.220.100:8080 1.2.252.65:8080 1.20.166.142:8080 1.32.59.217:47045...
Submitted by
anonymous
-
9 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
ISBN-10
Regex that matches the old ISBN-10 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-10-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
9 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
ISBN-13
Regex that matches the new (as of 2007) ISBN-13 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-13-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
9 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
11位整数含两位小数校验
100.00 10000.00 过滤非 0 开头两位小数
Submitted by
yang
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
中文匹配
本示例启用了多行匹配 m
Submitted by
yang
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
js获取url上的参数
/(+)=(+)/gm
Submitted by
anonymous
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Find duplicate char in a string
it was used in this codewar challenge. and i find i really interesting. Also u can Write it like this if you want /(.)\1+/g it works exactly the same
Submitted by
anonymous
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
RegEX IBAN SEPA with spaces
RegEX IBAN SEPA with spaces
Submitted by
Karim MB
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Percentage regex
Percentage regex allows integer and float values e.g. 10 // valid 12 // valid 12.34 // valid 12.345 // invalid 99.99 // valid...
Submitted by
Ankit Patel
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Regex for url
Regex for url
Submitted by
anonymous
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Base64 Image Data URI finder
The expression is intended for finding one or more embedded Base64 Data URI in an HTML document. It will not find matches for any HTML surrounding the encoded Data URI match ( tag or src attributes), just the encoded data and MIME header, all that's needed to decode. The MIME type is for images in ...
Submitted by
Attention Deficit Hyperactivity Disorder
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Match binary calculator, Operands and Operator
Match binary number (0 | 1), with or not Operand (+ | - | / | *)
Submitted by
chuaschinai
-
8 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Docker image tag with named groups
Named groups, port in registry, sha256
Submitted by
petersamokhin with help from https://stackoverflow.com/questions/39671641
-
8 months ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Simple Best URL Regex Match
Best URL Regex to match URL, This is simple and can match 64K of url regex under 20ms Regex Matches All Below and more: https://example.domain http://example.domain...
Submitted by
anonymous
-
2 years ago
1
...
590
591
592
593
594
595
596
...
629
US and Canada Regex
Vote
2
6 upvotes, 4 downvotes (60% like it) (You must be signed in to vote)
Regular Expression
javascript
/
(
^
[
0
-
9
]
{5}
(
-
[
0
-
9
]
{4}
)?
$
)
|
(
^
[
ABCEGHJKLMNPRSTVXY
]
{1}
[
0
-
9
]
{1}
[
A
-
Z
]
{1}
*
[
0
-
9
]
{1}
[
A
-
Z
]
{1}
[
0
-
9
]
{1}
$
)
/
zipcode
Open regex in editor
Description
Loading markdown...
Submitted by
Kyle M.
- 9 years ago