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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,440 community submitted regex patterns...
1
ISO 8601 Duration Validator
ECMAScript (JavaScript)
Validates format of ISO-8601 duration.
Submitted by
ed0wolf
-
9 years ago
1
Naming
ECMAScript (JavaScript)
Naming
Submitted by
Matt
-
9 years ago
1
Parse OTP from QR Code
ECMAScript (JavaScript)
This regular expression parses the uri of an one-time password typically masked by a QR Code. The expression supports the core hotp and totp, name, secret and optional counter (for hotp)
Submitted by
Carsten and Craig
-
9 years ago
1
Extract values from hostname
ECMAScript (JavaScript)
no description available
Submitted by
Matthew Ledbetter
-
9 years ago
1
Amazon.ca Order Total
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Match slahses and numbers
ECMAScript (JavaScript)
Match all forward and backward slashes and numbers in a string. Usefull for obtaining only text chars from address.
Submitted by
Rado
-
9 years ago
1
number of spaces at beginning of lines
ECMAScript (JavaScript)
find the number of spaces at the beginning of lines in a file.
Submitted by
andy
-
9 years ago
1
URL that allows IP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
data-repeat
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
s
ECMAScript (JavaScript)
s
Submitted by
s
-
9 years ago
1
find revenue
ECMAScript (JavaScript)
$12.34
Submitted by
anonymous
-
9 years ago
1
n.x
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Word separator
ECMAScript (JavaScript)
This regexp can be used to separate words in common text.
Submitted by
Rafael Salazar
-
9 years ago
1
Get the city name from combined zip code and city input
ECMAScript (JavaScript)
Suitable for countries with a combination of
Submitted by
Nils
-
9 years ago
1
Funy error
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
URL Parameters & Values
ECMAScript (JavaScript)
Returns matches of parameter and value separately from a URL. Ignores anything after a #.
Submitted by
Ross Tracy
-
9 years ago
1
java
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
direct link googldrive
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
YouTube URL ID matcher
ECMAScript (JavaScript)
Created for replacing everything except video ID from YouTube URL
Submitted by
kamilius
-
9 years ago
1
multiple IPv4 separated by , or ;
ECMAScript (JavaScript)
no description available
Submitted by
by ab
-
9 years ago
1
...
116
117
118
119
120
...
172
单行注释
0
Regular Expression
ECMAScript (JavaScript)
/
(
^
[^
\n\r\w\W
]
*
\/\/
.
*
$
)
|
(
\/\/
.
*
$
)
/
gm
Open regex in editor
Description
单行注释
Submitted by
anonymous
-
2 years ago