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
Community Patterns
Search among 11,660 community submitted regex patterns...
0
For justin
PCRE (PHP <7.3)
dis is why you match shit lots
Submitted by
anonymous
-
9 years ago
2
Dotted Decimal IPv4 Adress (for programming languages)
PCRE (PHP <7.3)
Searches for dotted decimal IPv4 Adresses and saves the numbers in match groups.
Submitted by
anonymous
-
9 years ago
6
Extract style
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Dim name
PCRE (PHP <7.3)
Gets all variable names
Submitted by
Tyrone Moodley
-
9 years ago
3
white space before punctuations, outside script and code tags
PCRE (PHP <7.3)
white space before punctuations, outside script and code tags
Submitted by
ced
-
9 years ago
1
french phone number (intl format)
PCRE (PHP <7.3)
little matcher for french phone number in international format (example: +33231348228)
Submitted by
Nolwennig
-
9 years ago
0
french phone number (locale format)
PCRE (PHP <7.3)
little matcher for french phone number in locale format (example: 0231348228)
Submitted by
Nolwennig
-
9 years ago
1
Quote Parsing
PCRE (PHP <7.3)
Parses quotes and can be escaped
Submitted by
Vihan B.
-
9 years ago
0
Password check - at least 1 char, 1 numeric, 8-64 chars long
PCRE (PHP <7.3)
Allows for a wide range of special characters. If you want it to have no upper bound, remove the 64 (but leave the 8,.
Submitted by
Peter Speden
-
9 years ago
1
aa
PCRE (PHP <7.3)
aaa
Submitted by
aaa
-
9 years ago
0
Pig Latin regex
PCRE (PHP <7.3)
I got really bored so I made this (not so fancy) pig latin generator
Submitted by
jojodmo
-
9 years ago
4
Match nth occurence of pattern
PCRE (PHP <7.3)
Match nth occurence of the patterns in the inner parenthesis. Put nth that you want to match in the curly braces (here, {3}).
Submitted by
Alex Hall
-
9 years ago
1
Match nth occurence of expression
PCRE (PHP <7.3)
Change the number in curly braces (3 in this example) to match for the nth occurence of the expression in the two inner parenthesis
Submitted by
Alex Hall
-
9 years ago
-2
regex for redirect url
PCRE (PHP <7.3)
no description available
Submitted by
igor
-
9 years ago
4
Capture only top-level (root) domain in URL
PCRE (PHP <7.3)
no description available
Submitted by
guyfawkes
-
9 years ago
2
Match domain part in Http(s) URLs
PCRE (PHP <7.3)
no description available
Submitted by
Nilratan
-
9 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
imperial string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
PHP DateInterval Specification Validator
PCRE (PHP <7.3)
This REGEX could be used to validate a PHP DateInterval specification.
Submitted by
Tim Visée, http://timvisee.com/
-
9 years ago
0
search file extention
PCRE (PHP <7.3)
search file extention
Submitted by
fau
-
9 years ago
1
...
547
548
549
550
551
...
583
Only if before
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
(?!
\b
bag
\b
)
.
)*
\b
red
\b.
+
?
\b
bag
\b
/
gm
Open regex in editor
Description
Only if needle is before target
Submitted by
anonymous
-
a year ago