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 6,180 community submitted regex patterns...
2
JavaScript trim string
ECMAScript (JavaScript)
Trim leading/trailing space on a string: do not use /gm flags. Trim each line of a multiline string: use the /gm flag.
Submitted by
https://github.com/naomik
-
10 years ago
1
trGet
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
Regex to select text withing square brackets.
ECMAScript (JavaScript)
no description available
Submitted by
Dhrubajyoti Gogoi
-
10 years ago
2
trim string
ECMAScript (JavaScript)
trim leading and trailing whitespace from a string
Submitted by
Dave Atchley
-
10 years ago
1
Signed integer
ECMAScript (JavaScript)
no description available
Submitted by
markus hooge
-
10 years ago
7
split URL into location-resource-params (JavaScript)
ECMAScript (JavaScript)
Extract resource location, name and query parameters from a URL (JavaScript version)
Submitted by
cebence
-
10 years ago
4
Repeated words (JS)
ECMAScript (JavaScript)
no description available
Submitted by
paconaranjo
-
10 years ago
1
Remove italics in less than three letters...
ECMAScript (JavaScript)
Subtitle Edit
Submitted by
paconaranjo
-
10 years ago
2
Punto antes de ¿ o ¡
ECMAScript (JavaScript)
Corregir la falta de punto cuando se abre un signo de exclamación o interrogación para el idioma español.
Submitted by
paconaranjo
-
10 years ago
34
Google like regex
ECMAScript (JavaScript)
Attempts to mimic Google search box behavior, returning an array with the separated search strings (that keep the +/- indicator for following operations)
Submitted by
mettjus
-
10 years ago
-3
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
1111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
s
ECMAScript (JavaScript)
s
Submitted by
anonymous
-
10 years ago
0
ssi tag into html contents with file and virtual directives
ECMAScript (JavaScript)
no description available
Submitted by
Prashant Gaur
-
10 years ago
3
po box
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
Regular Expression For Phone Number Validation
ECMAScript (JavaScript)
no description available
Submitted by
Brian Jemilo II
-
10 years ago
1
12345
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
Select ID from regex101 URL
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
10 years ago
1
Select inside <a> tag
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
10 years ago
1
...
305
306
307
308
309
Youtube API V3 Video list convert duration
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
PT
(?>
(?'hours'
\d
+
)
(?>
H
)
)?
(?>
(?'minutes'
\d
+
)
(?>
M
)
)?
(?>
(?'seconds'
\d
+
)
(?>
S
)
)?
/
gm
Open regex in editor
Description
Convert the YouTube API V3 videos list, duration of videos to separate numbers for calculations.
Submitted by
Bo
-
a year ago