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 15,380 community submitted regex patterns...
1
test
PCRE (PHP <7.3)
test
Submitted by
umesh
-
9 years ago
1
Matching comma separated with pattern
PCRE (PHP <7.3)
Matching comma separated fields with pattern
Submitted by
anonymous
-
9 years ago
1
US Ham Radio licenses
ECMAScript (JavaScript)
no description available
Submitted by
Joshua Carroll
-
9 years ago
1
Ebay item id from URL
PCRE (PHP <7.3)
no description available
Submitted by
Nanodev Limited
-
9 years ago
0
Squid access.log
PCRE (PHP <7.3)
cut/paste into fluentd/td-agent config
Submitted by
HoBoJo
-
9 years ago
1
Basic email validation
PCRE (PHP <7.3)
A basic and rude email validation
Submitted by
Yemolai
-
9 years ago
-2
Brazillian Telephone Number validator
PCRE (PHP <7.3)
A basic validator for BR phone numbers
Submitted by
Yemolai
-
9 years ago
1
password complexity
PCRE (PHP <7.3)
At least one lower case, upper case and digit, at least 10 chars
Submitted by
anonymous
-
9 years ago
1
Youtube Regex
PCRE (PHP <7.3)
To get video id from different formats
Submitted by
bux
-
9 years ago
1
Match first PMID
PCRE (PHP <7.3)
When encountering more than 1 pmid, make sure to return the first one
Submitted by
agreco13
-
9 years ago
0
ISO 8601 Dates
PCRE (PHP <7.3)
Regex supporting all formats of ISO 8601 dates (with timezone and microseconds) that are compatible with PHP DateTime constructor and strtotime.
Submitted by
mjolnic
-
9 years ago
1
Password Complexity Requirement RegEx
PCRE (PHP <7.3)
^ # start-of-string (?=.*[0-9]) # a digit must occur at least once (?=.*[a-z]) # a lower case letter must occur at least once (?=.*[A-Z]) # an upper case letter must occur at least once (?=.*[@#$%^&+=]) # a special character must occur at least once (?=\S+$) ...
Submitted by
http://stackoverflow.com/users/18771/tomalak
-
9 years ago
3
Get bad iframe (with white-list)
PCRE (PHP <7.3)
In (?!www.youtube.com\/|youtube.com\/|player.vimeo.com\/) u can add good sites for iframes: www.youtube.com/ player.vimeo.com/
Submitted by
Resager
-
9 years ago
1
redirect to https and non www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Currency Formater Accept , & .
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
sdfgedgesrgere
ECMAScript (JavaScript)
czfb
Submitted by
rtqetqetrqert
-
9 years ago
1
The meaning of life
PCRE (PHP <7.3)
http://www.rexegg.com/regex-humor.html#meaning-of-life
Submitted by
rexegg
-
9 years ago
1
[TYPECODE #1\](NCHG)
PCRE (PHP <7.3)
\TYPECODE #1\\[MARF#\].?\[EREF#\].?\[IREF#\].?\[RTRN#]\s.?\[DR #1\]
Submitted by
AS/KL
-
9 years ago
2
Ultimate URL/IP validator
ECMAScript (JavaScript)
Validates most types of URL's and IP addresses. NOTICE! remove "?" after first non-capturing group to forse check protocol.
Submitted by
anonymous
-
9 years ago
0
HTTP / HTTPS link check
ECMAScript (JavaScript)
Check if string contains a valid HTTP / HTTPS link
Submitted by
Dimorphic
-
9 years ago
1
...
673
674
675
676
677
...
769
PHP ReflectionParameter:__toString() parser
1
Regular Expression
PCRE (PHP <7.3)
/
^
Parameter
#
\d
+
\[
<
(?:
optional
|
required
)
>
(
[
a
-
zA
-
Z_
\x7f-\xff
]
[
a
-
zA
-
Z0
-
9_
\x7f-\xff
]
*
(?:
\\
[
a
-
zA
-
Z_
\x7f-\xff
]
[
a
-
zA
-
Z0
-
9_
\x7f-\xff
]
*
)*
)
(?:
or
NULL
)?
\$
[
a
-
zA
-
Z_
\x7f-\xff
]
[
a
-
zA
-
Z0
-
9_
\x7f-\xff
]
*
(?:
=
NULL
)?
\]
$
/
gm
Open regex in editor
Description
See
http://www.php.net/manual/en/reflectionparameter.tostring.php
Submitted by
Erin Millard
-
11 years ago