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 14,080 community submitted regex patterns...
0
Convert <a href="x">y</a> to [url=x]y[/url]
PCRE (PHP <7.3)
it took me quite some time to figure out. I hope it'll be helful to someone else.
Submitted by
anonymous
-
2 years ago
0
Match all links except for links enclosed in curly brackets
PCRE2 (PHP >=7.3)
Match all links except for links enclosed in curly brackets
Submitted by
anonymous
-
2 years ago
0
Divide AAAA and MMGG
PCRE2 (PHP >=7.3)
Division between AAAA and MMGG
Submitted by
Alessandro
-
2 years ago
0
meter number
Python
meter number
Submitted by
econ
-
2 years ago
0
suprnana
PCRE2 (PHP >=7.3)
whodis
Submitted by
anonymous
-
2 years ago
0
YouTube regex pattern v2
PCRE2 (PHP >=7.3)
YouTube regex pattern v2
Submitted by
anonymous
-
2 years ago
0
Soundcloud pattern
PCRE2 (PHP >=7.3)
Soundcloud pattern
Submitted by
anonymous
-
2 years ago
0
Email Regex
PCRE2 (PHP >=7.3)
A well equiped regex
Submitted by
anonymous
-
2 years ago
0
Client URL Isolation
Python
Pull the Client URL out of the Asana description field using targeted expression.
Submitted by
Al Romano
-
2 years ago
0
/w
Python
?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ !"#$%&\'()*+,-./0123456789:;
Submitted by
anonymous
-
2 years ago
0
Spotify ID regex
PCRE (PHP <7.3)
Spotify ID regex
Submitted by
anonymous
-
2 years ago
0
AsciiDoc delimited block quote
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/ only basic syntax
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc delimited block listing
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
2 years ago
(Last modified 2 years ago)
0
AsciiDoc Subscript
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/subscript-and-superscript/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc Superscript
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/subscript-and-superscript/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc hard line break
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/hard-line-breaks/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc underline
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/text-span-built-in-roles
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc highlight
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/highlight/
Submitted by
aisbergde
-
2 years ago
(Last modified 2 years ago)
0
E
PCRE2 (PHP >=7.3)
E
Submitted by
anonymous
-
2 years ago
0
demo
PCRE2 (PHP >=7.3)
regex grouping demo
Submitted by
Lidro
-
2 years ago
1
...
658
659
660
661
662
...
704
Capture YouTube Video ID
1
Regular Expression
PCRE (PHP <7.3)
/
(?:
youtube
(?:
-nocookie
)?
\.
com
\/
(?:
[^
\/
\n\s
]
+
\/
\S
+
\/
|
(?:
v
|
e
(?:
mbed
)?
)
\/
|
\S
*
?
[
?&
]
v=
)
|
youtu
\.
be
\/
)
(
[
a
-
zA
-
Z0
-
9_-
]
{11}
)
/
ig
Open regex in editor
Description
get video id from any version of youtube url
Submitted by
Kevin Chappell
-
9 years ago