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
Community Patterns
Search among 5,940 community submitted regex patterns...
1
ISBN-13
ECMAScript (JavaScript)
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
-
2 years ago
1
find text in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
2 years ago
1
find all url in <a> in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
2 years ago
1
aadhar number
PCRE2 (PHP >=7.3)
Finds Aadhar number from given string
Submitted by
anonymous
-
2 years ago
1
JavaScript Naming Convention Parser/Validator
PCRE2 (PHP >=7.3)
Surprisingly short regex that matches valid JavaScript identifier names and captures it in a group according common JavaScript naming conventions, e.g: myVariable generic name for most identifiers, uses camelCase MyClass...
Submitted by
Neel Yadav
-
2 years ago
1
Recognize Bosch partnumber
PCRE2 (PHP >=7.3)
partsnumber validate
Submitted by
Digimusen
-
2 years ago
(Last modified 2 years ago)
1
uzbekistan phone regex
PCRE2 (PHP >=7.3)
Uzbekistan phone codes - regex pattern.
Submitted by
Sodikmirzo Sattorov
-
2 years ago
1
Add space after period
PCRE2 (PHP >=7.3)
Add a whitespace after a period if it is followed by a non-whitespace character
Submitted by
blacksmithop
-
2 years ago
1
11位整数含两位小数校验
ECMAScript (JavaScript)
100.00 10000.00 过滤非 0 开头两位小数
Submitted by
yang
-
2 years ago
1
中文匹配
ECMAScript (JavaScript)
本示例启用了多行匹配 m
Submitted by
yang
-
2 years ago
1
phone number middle number parsing
Java 8
middle number parsing regex
Submitted by
anonymous
-
2 years ago
1
js获取url上的参数
ECMAScript (JavaScript)
/(+)=(+)/gm
Submitted by
anonymous
-
2 years ago
1
Find duplicate char in a string
ECMAScript (JavaScript)
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
-
a year ago
1
RegEX IBAN SEPA with spaces
ECMAScript (JavaScript)
RegEX IBAN SEPA with spaces
Submitted by
Karim MB
-
a year ago
1
Percentage regex
ECMAScript (JavaScript)
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
-
a year ago
1
Regex for url
ECMAScript (JavaScript)
Regex for url
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Fix markdown image in header
PCRE2 (PHP >=7.3)
I was converting from markdown to another format & it didn't allow images in headers so this Regex finds an image in a header & moves it before the header.
Submitted by
thefinnomenon
-
a year ago
1
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
a year ago
(Last modified a year ago)
1
Match binary calculator, Operands and Operator
ECMAScript (JavaScript)
Match binary number (0 | 1), with or not Operand (+ | - | / | *)
Submitted by
chuaschinai
-
a year ago
1
Password regular expression
PCRE2 (PHP >=7.3)
Password should contain at least 8 symbols, one lower case, one upper case and one number. https://owasp.org/www-community/password-special-characters
Submitted by
Tahiaji
-
a year ago
1
...
73
74
75
76
77
...
297
HITs data
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
(
(
[
0
]
[
1
-
9
]
|
1
\d
)
|
2
[
0
-
9
]
)
|
(
(
[
12
]
\d
|
0
[
1
-
9
]
)
|
(
3
[
01
]
)
)
(?!
\.
02
)
)
\.
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
\.
(
\d
{4}
|
\d
{2}
)
)
|
(
(
0
(
1
|
[
3
-
9
]
)
|
1
[
0
-
2
]
)
\.
(
0
[
1
-
9
]
|
[
12
]
\d
|
3
[
01
]
)
|
02
\.
(
[
1
-
9
]
|
[
12
]
\d
)
)
\.
(
\d
{4}
|
\d
{2}
)
/
gmx
Open regex in editor
Description
no description available
Submitted by
xidios
-
3 years ago