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,000 community submitted regex patterns...
0
Find unmatched smart quotes or bad quotes
PCRE2 (PHP >=7.3)
Finds all unmatched smart quotes, double and single, but ignores close single smart quote when used as an apostrophe.
Submitted by
Rich Meng
-
2 years ago
0
Matches ISBN-10 or ISBN-13 in any text (separator can be space or -)
PCRE2 (PHP >=7.3)
Matches ISBN-10 or ISBN-13 in any text (separator can be space or -). You still need to use code to compute checksum using the last digit to validate.
Submitted by
anonymous
-
2 years ago
0
Тестовая строка
ECMAScript (JavaScript)
Здесь можно тренироваться с регулярками
Submitted by
anonymous
-
2 years ago
0
Split Http(s) Response
PCRE2 (PHP >=7.3)
Split Http(s) Response
Submitted by
anonymous
-
2 years ago
0
Lookahead and lookbehind example
PCRE2 (PHP >=7.3)
An example of lookahead and lookbehind, both negative and positive. Allows to limit matches within specified limits without capture groups
Submitted by
CAMOKPYT
-
2 years ago
0
MoltenObsidian Internal Link
.NET 7.0 (C#)
Provides parsing w/ named variables for MoltenObsidian-flavoured Markdown wikilinks. (https://github.com/Nodsoft/MoltenObsidian)
Submitted by
Sakura Akeno Isayeki
-
2 years ago
(Last modified a year ago)
0
MySQL DATETIME
PCRE2 (PHP >=7.3)
MySQL DATETIME
Submitted by
anonymous
-
2 years ago
0
check strinf begin with a word
Python
you can change the word that you want to check begins within the string by changing the "test" word in the regex
Submitted by
jumma
-
2 years ago
0
AppStore apps URL
PCRE2 (PHP >=7.3)
This regex can detect if URL is Appstore app link
Submitted by
anonymous
-
2 years ago
0
apdl flst
Python
apdl flst
Submitted by
anonymous
-
2 years ago
0
find unity components guid
ECMAScript (JavaScript)
use to find unity components guid
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Invoice nr
PCRE2 (PHP >=7.3)
regexp search in mongo db by nr
Submitted by
Tivadar
-
2 years ago
0
date dd.mm.yyyy
Java 8
Date format dd.mm.yyyy
Submitted by
anonymous
-
2 years ago
0
File extension
ECMAScript (JavaScript)
Parse file extension.
Submitted by
Webmato
-
2 years ago
0
Negative search
PCRE (PHP <7.3)
Seach pattern that doesn't match
Submitted by
Gael Langlais
-
2 years ago
0
Amount (Number with two decimal places)
ECMAScript (JavaScript)
| valid | invalid | |:----------|:------------| | 0.00 | 1 | | 0.99 | 1. | | 10.00 | 1.9 | | 999.99 | 1,99 |...
Submitted by
anonymous
-
2 years ago
0
Capture Words
ECMAScript (JavaScript)
Get each word from a text.
Submitted by
anonymous
-
2 years ago
0
matching the end integer at the end of a command and capture the integer
Python
trig:seq:lev\s+([+-]?\d+)
Submitted by
anonymous
-
2 years ago
0
Doble Espacio
PCRE2 (PHP >=7.3)
Encuentra texto con toble espacio
Submitted by
Carlos Osmar
-
2 years ago
0
Validación de fecha
PCRE2 (PHP >=7.3)
Este código validará la fecha
Submitted by
Carlos Osmar
-
2 years ago
1
...
855
856
857
858
859
...
900
Community Library Entry
0
Regular Expression
Python
r"
(
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
1
-
9
]
?
[
0
-
9
]
)
\.
){3}
(
25
[
0
-
4
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
0
-
9
]
?
[
1
-
9
]
)
"
gm
Open regex in editor
Description
Valid ip addreses
Submitted by
anonymous
-
2 years ago