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 6,160 community submitted regex patterns...
0
Remove bracketed text
PCRE2 (PHP >=7.3)
Remove bracketed text using substitution
Submitted by
markfullmer
-
3 years ago
0
Scuffed phone number detectorizer
ECMAScript (JavaScript)
This is my first real regular expression after following some tutorials. Finds phone numbers, that's about it
Submitted by
hoylecake
-
3 years ago
0
First_Tests
PCRE2 (PHP >=7.3)
first tests
Submitted by
anonymous
-
3 years ago
0
Validate UUID
PCRE2 (PHP >=7.3)
Use this regex to validate a UUID
Submitted by
@eltonplima
-
3 years ago
0
Extract noun chunks
PCRE2 (PHP >=7.3)
Extract noun chunks in a sentence.
Submitted by
anonymous
-
3 years ago
0
array() to shorthand []
PCRE2 (PHP >=7.3)
PHP array() syntax to shorthand
Submitted by
anonymous
-
3 years ago
0
Search pages and youtube videos
PCRE2 (PHP >=7.3)
Regex to match URLs of search result pages and youtube videos.
Submitted by
Wei Li
-
3 years ago
0
[promtail] pod-controller
PCRE2 (PHP >=7.3)
matching pod-controller
Submitted by
anonymous
-
3 years ago
0
Laravel scheduler call method
PCRE2 (PHP >=7.3)
Validate and get parameters for Laravel scheduler
Submitted by
Mauricio Alexander Flórez
-
3 years ago
0
Find PHP short open tags
PCRE2 (PHP >=7.3)
Find PHP short open tags
Submitted by
anonymous
-
3 years ago
0
Shoes - Servers Related to an Application
PCRE2 (PHP >=7.3)
Paste in the ... portion of the Application page and this expression should extract the list of servers for you.
Submitted by
Cory
-
3 years ago
0
Bangladeshi Phone Number Regex
PCRE2 (PHP >=7.3)
Bangladeshi Phone Number Regex
Submitted by
Siam
-
3 years ago
0
ip:port check
PCRE2 (PHP >=7.3)
ip:port check
Submitted by
anonymous
-
3 years ago
0
sabre parse
PCRE2 (PHP >=7.3)
simple sabre line parser
Submitted by
aleks777
-
3 years ago
0
PDFtron Android Native Labels
PCRE2 (PHP >=7.3)
Extract translations from F* XMLs
Submitted by
Julian Somoza
-
3 years ago
0
Phone number
PCRE2 (PHP >=7.3)
Phone number
Submitted by
nipo
-
3 years ago
0
Pattern-12r1
ECMAScript (JavaScript)
This pattern needs to validate serial number
Submitted by
Raj
-
3 years ago
0
Lab 6 es 1
PCRE2 (PHP >=7.3)
Accept regex in the form OutputType ServiceName ( InputType1 , InputType2 , . . . )
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1.1
PCRE2 (PHP >=7.3)
return an int
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1.2
PCRE2 (PHP >=7.3)
Accept long as first input argument
Submitted by
anonymous
-
3 years ago
1
...
214
215
216
217
218
...
308
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(?:
youtube
\.
com
\/
(?:
[^
\/
]
+
\/
.
+
\/
|
(?:
v
|
e
(?:
mbed
)?
)
\/
|
.
*
[
?&
]
v=
)
|
youtu
\.
be
\/
)
(
[^
"&?
\/
]
{11}
)
/
i
Open regex in editor
Description
Parses the ID out of a youtube link
Submitted by
anonymous
-
8 years ago