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 12,020 community submitted regex patterns...
1
Password
PCRE (PHP <7.3)
Minimum 7 chars long Must have at least one char Must have at least one number Must have at least one special char i.e. @'#.$;%^&+=!""(),-/:?*
Submitted by
Piyush
-
9 years ago
0
HTML Tag Filtering
PCRE (PHP <7.3)
no description available
Submitted by
Mohammed Yehia
-
9 years ago
-2
Substitute text between brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
123-456-789
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
PAN
PCRE (PHP <7.3)
findet strukturell die PAN
Submitted by
Detlef Folke
-
9 years ago
1
Apache with " in referer
PCRE (PHP <7.3)
Apache combined log parser with/without escape " in the referer.
Submitted by
Dominique
-
9 years ago
0
Advanced Currency Matcher/Validator
PCRE (PHP <7.3)
Matches typical currency input in most LTR locales. Doesn't handle ISO-style currency abbreviations. Currency symbol must be on the left side for consistency; this my conflict with conventions for some currencies. Requested by Mr Lucky at https://xenforo.com/community/threads/help-with-a-currency...
Submitted by
Paul Buonopane (Zenexer)
-
9 years ago
1
Get specified open tag
PCRE (PHP <7.3)
Get open tags with content and attributes
Submitted by
Masoud Zohrabi <mdzzohrabi@gmail.com
-
9 years ago
1
Sides
PCRE (PHP <7.3)
Looks for sides
Submitted by
D.S.
-
9 years ago
-2
Camelize JSON
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
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
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
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
...
531
532
533
534
535
...
601
Check for content injections
0
Regular Expression
PCRE2 (PHP >=7.3)
/
.
*
viagra
.
*
|
.
*
cialis
.
*
|
.
*
levitra
.
*
|
.
*
drugs
.
*
|
.
*
porn
.
*
|
.
*
www
.
*
www
.
*
/
gm
Open regex in editor
Description
Check to see if site has been compromised with injected content
Submitted by
anonymous
-
2 years ago