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 18,040 community submitted regex patterns...
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
4 months ago
(Last modified 4 months ago)
0
Validates an IPv4 Address
PCRE2 (PHP >=7.3)
Given a string, the regex would match if it is a valid IPv4 address.
Submitted by
A-Paint-Brush
-
4 months ago
(Last modified 4 months ago)
1
PHP ReflectionParameter:__toString() parser
PCRE (PHP <7.3)
See http://www.php.net/manual/en/reflectionparameter.tostring.php
Submitted by
Erin Millard
-
12 years ago
1
Table Purgatory
PCRE (PHP <7.3)
A regex to find all nowrap text occurrences and name all the groups involved in preparation for a replacement pass
Submitted by
Joe Hacobian
-
12 years ago
1
Twitter Hashtags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Parse DateTimes
PCRE (PHP <7.3)
Will parse a DateTime and group the results. Probably pretty limited but it works for me.
Submitted by
martin
-
11 years ago
1
Get inside single/double quotes
PCRE (PHP <7.3)
Get everything inside single/double quotes and ignoring escaped ones
Submitted by
Jerry
-
11 years ago
1
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Anom
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
bridal quality
PCRE (PHP <7.3)
no description available
Submitted by
mine
-
11 years ago
1
why this matches?
PCRE (PHP <7.3)
no description available
Submitted by
romans
-
11 years ago
1
get image with classname
ECMAScript (JavaScript)
no description available
Submitted by
@cloverink
-
11 years ago
1
{if}{endif} matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
saja
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
js
ECMAScript (JavaScript)
no description available
Submitted by
sd
-
11 years ago
1
Number, comma and dot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
(Last modified a year ago)
1
Check SQL Insert Into
PCRE (PHP <7.3)
no description available
Submitted by
MelRight
-
11 years ago
1
tags, tags in quotes
PCRE (PHP <7.3)
#day tralalala #"day" tralalala #'beautiful_day'
Submitted by
voodoo free.dev.ua@gmail.
-
11 years ago
1
regular expression to replace except text from html tags
ECMAScript (JavaScript)
expression to look for words in innerText & not in html tags as id or class or style name
Submitted by
umarfarukh
-
11 years ago
1
...
577
578
579
580
581
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
(?<protocol>
[^
:/
]
+
:
)
)?
(?:
:
?
\/\/
)?
(?:
(?<user>
[^
/:
]
*
)
(?:
:
(?<passwd>
[^
@
]
*
)
)?
@
)?
(?:
(?<host>
[
\w
._-
]
*
)
)?
(?:
:
(?<port>
\d
*
)
)?
(?:
(?<path>
\/
?
[^
?
]
*
)
)?
(?:
(?<search>
\?
[^
#
]
*
)
)?
(?:
(?<hash>
#
.
*
)
)?
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago