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 13,020 community submitted regex patterns...
0
Extract registration and model
ECMAScript (JavaScript)
Capture registration and aircraft model
Submitted by
Federico Villa
-
2 years ago
(Last modified 2 years ago)
0
YouTube vid length
ECMAScript (JavaScript)
as found in: https://youtube.com/watch?v=${videoID}&persist_app=1&app=m to search for video time in minutes & seconds
Submitted by
tomByrer
-
2 years ago
(Last modified 2 years ago)
0
Danish CPR number validation
PCRE (PHP <7.3)
CPR number is presented with or without a dash
Submitted by
anonymous
-
2 years ago
0
java-test1
Java 8
java test string
Submitted by
anonymous
-
2 years ago
0
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
2 years ago
0
Google Analytics Pattern
ECMAScript (JavaScript)
Padrão de formatação do Google analytics usando o identificador universal UA e prevendo que a base de usuários pode crescer, conforme discusão em
Submitted by
@brunosf
-
2 years ago
0
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
2 years ago
0
Cbre bookingid
ECMAScript (JavaScript)
a
Submitted by
anonymous
-
2 years ago
0
Quiz Feed – Pages Only
PCRE (PHP <7.3)
The new quiz feed pages and its sub-feeds. i.e. /quizzes/foo
Submitted by
anonymous
-
2 years ago
0
rwd
ECMAScript (JavaScript)
rwd
Submitted by
anonymous
-
2 years ago
0
parse valid time
ECMAScript (JavaScript)
parse valid time modified slightly from https://regexland.com/regex-time-am-pm/
Submitted by
me
-
2 years ago
0
Certificate
ECMAScript (JavaScript)
Certificate
Submitted by
anonymous
-
2 years ago
0
Password
ECMAScript (JavaScript)
Password regular expression
Submitted by
AhbapAldırma
-
2 years ago
0
chia plot
Golang
chia plot
Submitted by
temple
-
2 years ago
0
Remove duplicate lines in sorted text
Java 8
See
Submitted by
@atnbueno
-
2 years ago
0
الرقم القومي المصري Egyptian National ID numer
PCRE (PHP <7.3)
استخراج المعلومات من الرقم القومي المصري لمعلومات اكثر رجاء زيارة: استخراج المعلومات من الرقم القومي المصري برمجياً
Submitted by
anonymous
-
2 years ago
0
ds100reg5
PCRE (PHP <7.3)
ds100reg5
Submitted by
anonymous
-
2 years ago
0
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
2 years ago
0
Find Discord channel
ECMAScript (JavaScript)
Use this regex to find any mention for a channel. # is a mention for a text channel #! is a mention for a voice channel
Submitted by
Olympic1
-
2 years ago
0
Find Discord role
ECMAScript (JavaScript)
Use this regex to find any mention for a role. @& is a mention for a role
Submitted by
Olympic1
-
2 years ago
1
...
617
618
619
620
621
...
651
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