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,580 community submitted regex patterns...
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
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
1
...
544
545
546
547
548
...
579
time
1
Regular Expression
Python
r"
(
\d\d
{0,1}
){1}
(
:
\d\d
{0,1}
){0,1}
(
\s
a
.
m
|
\s
p
.
m
){0,1}
"
Open regex in editor
Description
get time in string 33:20 a.m
Submitted by
Hoang Phuong - Gia Lai
-
8 years ago