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,040 community submitted regex patterns...
1
Search "smarty" tags
PCRE (PHP <7.3)
Example: Home page | {$site_name|to_small}
Submitted by
Marek Ulwański
-
10 years ago
1
weather
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
iOS Localizable.strings parser
Python
Can be used to find all keys and values in .strings file. Matching pattern: "key" = "value";
Submitted by
Natan Zalkin
-
10 years ago
1
Two Line Element (TLE) validation
PCRE (PHP <7.3)
no description available
Submitted by
Michael Lodge-Paolini
-
10 years ago
1
C++ operator overload
PCRE (PHP <7.3)
"Lazy" operator overload regular expression: += and likes are left out because + and like matches anyway.
Submitted by
Guba Dániel Olivér
-
10 years ago
1
Recherche email
PCRE (PHP <7.3)
Recherche un email
Submitted by
G Morelle
-
10 years ago
1
decoupeur de chaines selon les +-
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
ip address @pexipdemo.com
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Safe words and dirty words
PCRE (PHP <7.3)
This regex matches "bob" but does not match "abob", "bobb" or "cbobd" while it does match "cbob" and "bobd". Here "bob" is the dirty word and "abob", "bobb" and "cbobd" are safe phrases
Submitted by
Alex
-
10 years ago
1
Find only ".config" file names
PCRE (PHP <7.3)
Will find lines that end with "/*.config"
Submitted by
Dee
-
10 years ago
1
RGB colors
PCRE (PHP <7.3)
Matches all the RGB colors in the format #RRGGBB and #RGB
Submitted by
Gabriel Hautclocq
-
10 years ago
1
validate_invoiceid_with_yy
PCRE (PHP <7.3)
Validate an ivoice number with the last two digit as last 2 year digit
Submitted by
ema
-
10 years ago
1
{1-65536}
PCRE (PHP <7.3)
12
Submitted by
anonymous
-
10 years ago
1
Non-prod Application Log Regex
PCRE (PHP <7.3)
no description available
Submitted by
Aditya Bindra
-
10 years ago
1
Orignial Log Parse (Spark Lab2)
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Basic IP matching
ECMAScript (JavaScript)
I've looked at some of the other IP matching that seems a lot more complex but several of them don't work, and I'm too simple minded to figure out why. Keep it simple, I've never had a problem matching IP addresses in logs with this one.
Submitted by
anonymous
-
10 years ago
1
match data-reactid
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
File input type validation
PCRE (PHP <7.3)
no description available
Submitted by
Ramkumar Venkatachalam
-
10 years ago
1
Mail With Groups
ECMAScript (JavaScript)
Matches email with groups for username and domain.
Submitted by
anonymous
-
10 years ago
1
redaa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
595
596
597
598
599
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
(?:
(?:
[^
?+*{}()[
\]\\
|
]
+
|
\\
.
|
\[
(?:
\^
?
\\
.
|
\^
[^
\\
]
|
[^
\\
^
]
)
(?:
[^
\]\\
]
+
|
\\
.
)*
\]
|
\(
(?:
\?
[
:=!
]
|
\?
<
[
=!
]
|
\?
>
)?
(?1)
?
?
\)
|
\(\?
(?:
R
|
[
+-
]
?
\d
+
)
\)
)
(?:
(?:
[
?+*
]
|
\{
\d
+
(?:
,
\d
*
)?
\}
)
[
?+
]
?
)?
|
\|
)*
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago