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 15,140 community submitted regex patterns...
1
OpenWeather Regex for Rainmeter Weather.ini
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Modem Logging pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Simple JSON Regex Groups for Parsing JSON
PCRE (PHP <7.3)
I figured this would be the simplest way to Parse JSON. We have some known information about the properties to help determine the type at runtime. Properties - Immediately followed by : characters Values - Have a bracket } ] or a , directly after it in the regex return. Strings - They are surrounded...
Submitted by
Dajeki
-
4 years ago
1
Last Occurrence of comma(,) in a string
ECMAScript (JavaScript)
Used this to dynamically create placeholder text when a user changed the coordinates format from default to custom. ex ['DD', 'DDM', 'DMS'] to remove the comma from the string. The format comes from an array of strings so I had to do a join(', ').replace(/\,(?=*$)/g, ' or') to get DD, DDM or DMS
Submitted by
anonymous
-
4 years ago
1
map json
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
part 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
each section searched with line breaks still in 2.0 - gets entire section from From
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
email capturing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Role regex liferay-developer
PCRE (PHP <7.3)
Regex to liferay proyect for Role -> Developer
Submitted by
anonymous
-
4 years ago
1
Role regex ODH Developers
PCRE (PHP <7.3)
Regex to proyect ODH for ROLE -> Developers
Submitted by
anonymous
-
4 years ago
1
capturing div a or span or etc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
c comments
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
c without comments for valid c code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
word boundary position
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
matching numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
matching phone numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Replacing markup link to html
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Image tags
PCRE (PHP <7.3)
Extract image tags from a HTML code
Submitted by
anonymous
-
4 years ago
1
words in same sentence (also not consecutive)
ECMAScript (JavaScript)
La regex individua piĆ¹ parole, anche non consecutive, presenti nella stessa frase (non separate da un punto). Affinata per la gestione dell'attribuzione del flag cantina dell'importer.
Submitted by
anonymous
-
4 years ago
1
email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
...
213
214
215
216
217
...
757
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