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...
0
POC Mobile Detection
ECMAScript (JavaScript)
const regex = /(?:Mobile|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera\sMobi)/gm; const str = `Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile...
Submitted by
anonymous
-
4 years ago
0
POC Mobile Detection
Golang
const regex = /(?:Mobile|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera\sMobi)/gm; const str = `Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile...
Submitted by
anonymous
-
4 years ago
0
ObjectName with spaces allowed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Replace shortcode with <a>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
mylibrary
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Moneda con string (Mas estricta) V2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
NumberOnlyDate_regex
Python
YYYYMMDD YYYY-MM-DD YYYY.MM.DD YYYY/MM/DD YYYY-M-D YYYY.M.D...
Submitted by
anonymous
-
4 years ago
0
Match string literals and any other character outside string
PCRE (PHP <7.3)
This Regular expression is applicable to all string literals. If we want to match character outside those strings, then just need to add that character in rest of the groups.
Submitted by
anonymous
-
4 years ago
0
Catch Salesforce id duplication exception
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Regular expression to filter out decimal from 1.00 to 5.00 ( inclusive) Plus occurrence of 0
PCRE (PHP <7.3)
Regular expression to filter decimal from 1.00 to 5.00 ( inclusive) Plus occurrence of 0
Submitted by
anonymous
-
4 years ago
0
fghs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
kjb .
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
nfvo-cli frame
Python
no description available
Submitted by
anonymous
-
4 years ago
0
PM local link replacer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Parse Sprint Name 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Match either .jpg ot .png or .gif
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
super cool
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
LinuxDirectoryPathValidation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
LinuxFilePathValidation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
KV_base
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
348
349
350
351
352
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
[:^print:][:cntrl:]\s
]
|
GIF89
.
{0,20}
)*
<
\?
(?:
php
)?
\s
*
.
{0,50}
\$
hwini
=
/
gsi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago