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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 15,720 community submitted regex patterns...
1
GetCsrf
PCRE (PHP <7.3)
no description available
Submitted by
Raj
-
9 years ago
1
Varnish CLI ping
PCRE (PHP <7.3)
Allow filter Varnish ping for health status in Rsyslog
Submitted by
Axel
-
9 years ago
1
iOS Device matcher and parser
PCRE (PHP <7.3)
Matches iOS device names. Groups and example matches: 0: Full device name ("iPhone 6s Plus") 1: Device name+class ("iPad Air") 2: Device name ("iPad") 3: Device class with preceding whitespace (" Mini")...
Submitted by
Ben Leggiero
-
9 years ago
1
Last quoted string in text likely to be a filename
PCRE (PHP <7.3)
When a string contains two or more possible filenames in quotes grab the last one and return it as and
Submitted by
warlord
-
9 years ago
1
telefone number validator
ECMAScript (JavaScript)
this regex match numbers, whitespaces and the plus caracter.
Submitted by
Daviz
-
9 years ago
1
Java standard date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Strip Specific HTML Tags
PCRE (PHP <7.3)
Strip specific HTML tags from a string—opposite of PHP's strip_tags(). Replace letter 'p' with your tag name. Using PHP preg_replace(), example: preg_replace('/(]>)(.?)()|(]*>)/i', '$2', $string);
Submitted by
Zachary Beschler
-
9 years ago
4
c#
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
RA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
(Last modified 9 years ago)
0
"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$"
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
extract domain with port
ECMAScript (JavaScript)
no description available
Submitted by
yooresh
-
9 years ago
0
matching regex and logical pattern from a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
9 years ago
2
matching regex and boolean patterns in a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
9 years ago
1
Password
ECMAScript (JavaScript)
aA1@
Submitted by
anonymous
-
9 years ago
1
Email Address
ECMAScript (JavaScript)
vishal1@vishal.com
Submitted by
anonymous
-
9 years ago
1
IMDB Name Extractor
PCRE (PHP <7.3)
This can be used with the IMDB Plain Text Files to Extract Names of Actors and Actresses. Originally created for use in an NLP Project for EECS 337
Submitted by
Rene Romo
-
9 years ago
1
Steam Permalink ID -
ECMAScript (JavaScript)
no description available
Submitted by
shooteram
-
9 years ago
0
HTML entities
PCRE (PHP <7.3)
Matches HTML entities like <
Submitted by
anonymous
-
9 years ago
2
UK phone number
PCRE (PHP <7.3)
UK phone number
Submitted by
Andrea SonnY
-
9 years ago
1
...
635
636
637
638
639
...
786
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
#
[
a
-
zA
-
Z0
-
9_-
]
+
(
,
(
\s
)*
#
[
a
-
zA
-
Z0
-
9_-
]
+
)*
[^
,
]
$
/
Open regex in editor
Description
Will allow
#hash,#tag
but not
#hash,
.
Submitted by
anonymous
-
9 years ago