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...
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
SelfMon Filter User & Group
PCRE (PHP <7.3)
Filter selfmon events by user and group using the r= switch. The full filter is entered as: r=/(?=.FULL SET USER1)(?=.Grp= 1)/ms
Submitted by
SelfMon
-
9 years ago
1
Email address validator
PCRE (PHP <7.3)
Validates most email addresses. Using the range [A-Za-z0-9] at the beginning instead of \w means an address cannot begin with an underscore. This range is also used to exclude underscores from the domain (part after @).
Submitted by
Owen Howard
-
9 years ago
1
Validate mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Remove repetitions from plain array
PCRE (PHP <7.3)
Remove repeated elements from a plain JSON array.
Submitted by
Icaro Niz
-
9 years ago
0
23
PCRE (PHP <7.3)
23
Submitted by
23
-
9 years ago
2
BZWBK24 SMS Code
PCRE (PHP <7.3)
no description available
Submitted by
maniekq
-
9 years ago
2
Simple Telephone number(America/Canada)
PCRE (PHP <7.3)
Accepts spaces or not 1234567890 123 456 7890
Submitted by
Christopher Dufort
-
9 years ago
-3
Select a HTML table and all its innerHTML
PCRE (PHP <7.3)
no description available
Submitted by
@ixzy24
-
9 years ago
1
always greedy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Test Balanced Parentheses
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
9 years ago
1
mceItem_breakpoint2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
mceItem_breakpoint
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Meow
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
last, first middle name parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
How do I write a Regex to inspect Cisco Interfaces
PCRE (PHP <7.3)
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEtherne...
Submitted by
Pirates
-
9 years ago
-2
Detect DNS Zones with Authoritative Nameservers
PCRE (PHP <7.3)
This can be used to find all zone files that contain authoritative nameservers - e.g. perl -ne 'print if /^([\w.]+\.)\s+.+\sNS\s.+\1/' /var/named/*.db | awk '{print $1}' | sort | uniq
Submitted by
Santrix
-
9 years ago
0
eee
PCRE (PHP <7.3)
eee
Submitted by
eee
-
9 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
554
555
556
557
558
...
589
MySQL PHP connection string
1
Regular Expression
PCRE (PHP <7.3)
/
(?=
.
*
dbname=
(
.
*
)
(?:
;
|
$
)
)
(?=
.
*
host=
(
.
*
)
(?:
;
|
$
)
)
/
U
Open regex in editor
Description
Capture dbname and host from MySQL PHP connection string
Submitted by
anonymous
-
9 years ago