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,780 community submitted regex patterns...
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
Less number variables to dictionary
PCRE (PHP <7.3)
extract keys and values from .less variables
Submitted by
actarian
-
9 years ago
1
HP OO Shell OPeration
PCRE (PHP <7.3)
I am trying to capture from HP OO SSH shell operation, basicall it will run the commands what we send from HP OO and this operation expects return output to send next command. I am trying to send command gtacl and next command is LOGON username, OO expects to match string to send another command, t...
Submitted by
Lokesh
-
9 years ago
2
filter noreply-ish e-mail addresses
PCRE (PHP <7.3)
no reply e-mail addresses don't want to receive a reply. Unfortunately, not all no reply e-mail addresses are formatted like noreply@domain.tld, so in order to catch as many of them as possible I made this regular expression which matches many forms of no reply e-mail addresses.
Submitted by
anonymous
-
9 years ago
0
messenger facebook without facebook
PCRE (PHP <7.3)
iwant to block fcaebook messenger in layer7
Submitted by
anonymous
-
9 years ago
3
PL Phone number
PCRE (PHP <7.3)
PL Phone number
Submitted by
Dawid
-
9 years ago
1
youtube parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Extrae episodios
PCRE (PHP <7.3)
Extrae episodeos de una pagina de series flv
Submitted by
Aldo Lopez
-
9 years ago
1
获取discuz引用回复用户名
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
9 years ago
1
^(?:0814|0815|0816|0855|0856\d|0857\d|0858\d|0859\d|0[^08]\d)\d{6,9}$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
1
PCRE (PHP <7.3)
1
Submitted by
1
-
9 years ago
1
...
553
554
555
556
557
...
589
phone number matcher
0
Regular Expression
Java 8
"
(
\+
?
[
\d
]
{1,3}
(
[
-
]
{0,2}
|
[
\s
]
+
)?
)?
\(
?
(
\d
{3}
)
\)
?
(
[
-
]
{0,2}
|
[
\s
]
)?
(
\d
{3}
)
(
[
-
]
{0,2}
|
[
\s
]
)?
(
\d
{4}
)
(
\s
?
(
(
[
E|e
]
xt
[
:|.|
]
?
)
|
x
|
X
)
(
\s
?
\d
+
)
)?
"
gm
Open regex in editor
Description
phone number matcher
Submitted by
anonymous
-
2 years ago