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,000 community submitted regex patterns...
1
Capture if pattern NOT found
PCRE (PHP <7.3)
Capture the input if the pattern is NOT found
Submitted by
Byron Jones
-
9 years ago
1
Find legacy PHP opening tags
PCRE (PHP <7.3)
Matches <? not followed by a p or an x (finds <? and <?=, ignores <?php and <?xml
Submitted by
anonymous
-
9 years ago
0
WEB URL
ECMAScript (JavaScript)
only WEB URL ex:http://aaa.com.tw https://aaa.com aaa.com aaa.com.tw
Submitted by
anonymous
-
9 years ago
1
latest
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
SupplierNet: Erstat xp:tr med inputtext
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
International phone number validation
PCRE (PHP <7.3)
Validates all formats of phone numbers for international calls. Accepts all kinds of internationa call prefixes.
Submitted by
Ādams Muzikants
-
9 years ago
1
Smoke Detector Regex
Python
Parses Smokey messages
Submitted by
Eyeballcode
-
9 years ago
1
jaswsinc: The second trickiest regex pattern I've ever written
PCRE (PHP <7.3)
Notice that I had to find this anywhere in the string, unlimited times, and account for escaped quotes.
Submitted by
Jason Caldwell
-
9 years ago
1
better
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
regex words
PCRE (PHP <7.3)
get all words related to regex
Submitted by
anonymous
-
9 years ago
1
all regex
PCRE (PHP <7.3)
selects anything todo with regex, (regualr expressions,regular expression, regex, regexp, regexes)
Submitted by
@-ScratchOs
-
9 years ago
1
Match any .mpg
PCRE (PHP <7.3)
Match any content string that ends in .mpg. Useful for MPEG filters on HTTP requests
Submitted by
Dolly Feathers
-
9 years ago
1
9.24.15
PCRE (PHP <7.3)
First Test Regex
Submitted by
anonymous
-
9 years ago
1
Oracle Stored Procedure Name Validator
ECMAScript (JavaScript)
Validates valid Oracle Stored Procedure names
Submitted by
anonymous
-
9 years ago
1
DB2 Nodes improved
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
DB2 Nodes Line Check
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Remove common numeric suffixes (eg: 40m, 60%)
PCRE (PHP <7.3)
Usage: "40%".replace(/\b([\d\.]+)mkb%/ig, '$1')
Submitted by
anonymous
-
9 years ago
1
Search for status
PCRE (PHP <7.3)
IVLSInstallation.log includes a status for the upgrade
Submitted by
jhambly
-
9 years ago
1
Find div with any string inside
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
phone number russia
Python
phone number without spaces or hyphens +7YYYXXXXXXX
Submitted by
vscoder
-
9 years ago
1
...
798
799
800
801
802
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
--start
(
1
?
[
\-\.\_
]
?
)
question
mark
makes
the
block
or
single
character
before
it
optional
(
[
0
-
9
]
{3}
)
(
-
?
)
(
[
0
-
9
]
{4}
)
$
/
Open regex in editor
Description
First Test Regex
Submitted by
anonymous
-
9 years ago