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 11,900 community submitted regex patterns...
1
Very basic mail check regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Locale ICU validator
PCRE (PHP <7.3)
Regexp to match against a icu locale string
Submitted by
Sylvain Combes
-
7 years ago
1
flush done
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
CMSC320 NASA Dirty Table Regex
PCRE (PHP <7.3)
https://cdaw.gsfc.nasa.gov/CME_list/radio/waves_type2.html
Submitted by
anonymous
-
7 years ago
1
Url include with negative lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Match on Valid IP
PCRE (PHP <7.3)
Match on VALID IP address anywhere in string.
Submitted by
KyleV
-
6 years ago
1
Match on phone number in any standard format
PCRE (PHP <7.3)
Match on a phone number in ANY standard phone number format.
Submitted by
KyleV
-
6 years ago
1
SIREN
PCRE (PHP <7.3)
SIREN for french business register number
Submitted by
Maxime
-
6 years ago
1
SIRET
PCRE (PHP <7.3)
Business register number for France SIRET
Submitted by
Maxime
-
6 years ago
1
RNA
PCRE (PHP <7.3)
French association register number RNA
Submitted by
Maxime
-
6 years ago
1
Match HTML img elements with URL source
PCRE (PHP <7.3)
Matches all img tags that have a URL for the src attribute. Useful for updating all those links in your email templates, or where ever your using the \ tag
Submitted by
Doom87er
-
6 years ago
1
Replace for CSS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Get SQL FROM
PCRE (PHP <7.3)
SELECT * FROM wp_users WHERE user_login = 'username'
Submitted by
Lars Jansen
-
6 years ago
1
IPV4 regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
toby regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Detect JSON entries
PCRE (PHP <7.3)
This Regexp here has probably been done a ton of times, but I kind of figured one out here, so I decided to post it anyways. It may or may not be a duplicate, but this also will ignore any strings that a JSON entry may have so that it knows not to detect something if a value contains text like "som...
Submitted by
Ghostyrun
-
6 years ago
1
c/c++ include
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
find word near another word (10 words distance)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
ESR und ESR+
PCRE (PHP <7.3)
ESR Einzahlungsscheine (CH)
Submitted by
dhu
-
6 years ago
1
Validate image URL
PCRE (PHP <7.3)
Adaptation of RFC-3986 uri validation - https://tools.ietf.org/html/rfc3986 Validates that URL contains an image (jpg/jpeg/png/gif) reference whilst also allowing for queries Key parts of URL are captured in named groups The URL portion is also optional, so will validate just an image filename if r...
Submitted by
Norris
-
6 years ago
1
...
496
497
498
499
500
...
595
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
-
?
[
1
-
8
]
?
\d
(?:
\.
\d
{1,18}
)?
|
90
(?:
\.
0
{1,18}
)?
)
,
\s
+
?
(
-
?
(?:
1
[
0
-
7
]
|
[
1
-
9
]
)?
\d
(?:
\.
\d
{1,18}
)?
|
180
(?:
\.
0
{1,18}
)?
)
$
/
gmi
Open regex in editor
Description
Check if Coordinates from Google Maps are valid
Submitted by
freMea
-
8 years ago