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 9,340 community submitted regex patterns...
0
domain name with subdomains
PCRE (PHP <7.3)
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
a year ago
0
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
a year ago
0
Replace namespaces in xpath with local-name
.NET 7.0 (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
a year ago
0
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
a year ago
0
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
a year ago
0
for killerswim
.NET 7.0 (C#)
a
Submitted by
anonymous
-
a year ago
0
Youtube Video Id
.NET 7.0 (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
a year ago
0
jiggl
PCRE (PHP <7.3)
toggl track to jira
Submitted by
anonymous
-
a year ago
0
URL Validation
.NET 7.0 (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago
0
Camel-Case Splitter (preserves Acronyms)
.NET 7.0 (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
a year ago
0
whois
PCRE (PHP <7.3)
whois find param
Submitted by
anonymous
-
a year ago
0
Tracking Number Recognition and Parsing
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
a year ago
0
Additional
PCRE (PHP <7.3)
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
a year ago
(Last modified a year ago)
1
...
465
466
467
Community Library Entry
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
-
12 years ago