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 6,160 community submitted regex patterns...
0
Reddit video url
ECMAScript (JavaScript)
Matches Reddit video URLs to allow you to replace part of it to get the video's audio URL
Submitted by
anonymous
-
3 years ago
0
Numbers in Sequence
ECMAScript (JavaScript)
Checks string for numbers in sequence. Ex: 123, test345
Submitted by
anonymous
-
3 years ago
1
Email Extractor
PCRE2 (PHP >=7.3)
([a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9_-]+)
Submitted by
Kashif
-
3 years ago
0
Cities
PCRE2 (PHP >=7.3)
Cities
Submitted by
anonymous
-
3 years ago
0
найдет все числа и отрицательные и положительные в строке
PCRE2 (PHP >=7.3)
` const s = '23+-22.2222+-2334+5-5/225-8'; const re = /(?!:\W)(\-)?(\d+)[.]?(\d+)?/gm; console.log ( s.match ( re ) ); //[ '23', '-22.2222', '-2334', '5', '-15', '22', '5', '-8' ] `
Submitted by
Kasap Victor
-
3 years ago
0
Слова які починаються та закінчуються одинаково
PCRE2 (PHP >=7.3)
Слова які починаються та закінчуються одинаково
Submitted by
DJI
-
3 years ago
0
Виділення слів в тексті
PCRE2 (PHP >=7.3)
Виділення слів в тексті
Submitted by
anonymous
-
3 years ago
0
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
3 years ago
0
GitLab Path
PCRE2 (PHP >=7.3)
GitLab Path
Submitted by
anonymous
-
3 years ago
0
Regular expression for nested Curly brackets
PCRE2 (PHP >=7.3)
Regular expression for nested Curly brackets
Submitted by
Romuald
-
3 years ago
0
IPv6 & IPv4 checker (Typescript compatible)
ECMAScript (JavaScript)
const ipAddressRegexp = /((^\s((([0-9]|1-9|1[0-9]{2}|20-4|25[0-5])\.){3}([0-9]|1-9|1[0-9]{2}|20-4|25[0-5]))\s$)|(^\s((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9...
Submitted by
proddy
-
3 years ago
(Last modified 3 years ago)
0
HL7 Locate message using fields from two segments.
ECMAScript (JavaScript)
This regex uses non capturing groups to start the match on the first field and then continue to match second field. SEGMENT\|(?:\|){}\|(?:\|){} SEGMENT is the first segment that has field to match on is the zero based count of the field in first segment...
Submitted by
Jo5eph
-
3 years ago
0
Format Australian Bank BSB number
PCRE2 (PHP >=7.3)
Format Australian Bank BSB number
Submitted by
anonymous
-
3 years ago
0
IPv4 mask
PCRE2 (PHP >=7.3)
Matches any IPv4 mask.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
IPv4 address
PCRE2 (PHP >=7.3)
Matches any IPv4 address.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
Indian Phone Numbers
PCRE2 (PHP >=7.3)
Regex to identify 10 digit phone numbers in India.
Submitted by
anonymous
-
3 years ago
0
Brazil's Documents
PCRE2 (PHP >=7.3)
Documents of the Brazil
Submitted by
anonymous
-
3 years ago
0
location
PCRE2 (PHP >=7.3)
locaiton regex
Submitted by
chenxi
-
3 years ago
0
Regex head tags contents
PCRE2 (PHP >=7.3)
Regex head tags contents
Submitted by
anonymous
-
3 years ago
0
EMDG LONG_TEXT
PCRE2 (PHP >=7.3)
1 - 256 tegn er tilladt
Submitted by
anonymous
-
3 years ago
1
...
144
145
146
147
148
...
308
RGX lj-ARRAY
1
Regular Expression
ECMAScript (JavaScript)
/
(
(
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
.
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
\.
[
>,<,>=,<=,==,<,!=
]
\.
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
)+
(
OR
|
AND
|
{}
)
)*
/
Open regex in editor
Description
RGX lj-ARRAY
Submitted by
LJARRAY
-
8 years ago