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 9,740 community submitted regex patterns...
0
Match token and optional convert to type in string
.NET 7.0 (C#)
I use this in a JSON template together with JObject data to create a JSON string
Submitted by
rkleinkromhof
-
2 years ago
0
Extract just YouTube IDs
PCRE (PHP <7.3)
You can easily extract YouTube IDs, excluding the paths and parameters.
Submitted by
anonymous
-
2 years ago
0
https://regex101.com/r/VrZHR8/1
PCRE (PHP <7.3)
https://regex101.com/r/VrZHR8/1
Submitted by
anonymous
-
2 years ago
0
IP Table Parse IPID
.NET 7.0 (C#)
Match 1 is the IPID
Submitted by
Tres Little
-
2 years ago
0
Verify email
Java 8
Regex for email
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Get project name from git url
Golang
Used by Zarf to obtain the name of a repository when given a git URL.
Submitted by
Jonathan Perry
-
2 years ago
0
Kafka topic name regex
PCRE (PHP <7.3)
Kafka topic name regex
Submitted by
anonymous
-
a year ago
0
helix word motion
PCRE (PHP <7.3)
helix word motion
Submitted by
anonymous
-
a year ago
0
URL
.NET 7.0 (C#)
(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by
anonymous
-
a year ago
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
-
a year ago
0
Spotify ID regex
PCRE (PHP <7.3)
Spotify ID regex
Submitted by
anonymous
-
a year ago
0
AsciiDoc delimited block listing
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
a year ago
(Last modified a year ago)
0
AsciiDoc Subscript
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/subscript-and-superscript/
Submitted by
aisbergde
-
a year ago
0
AsciiDoc Superscript
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/subscript-and-superscript/
Submitted by
aisbergde
-
a year ago
0
AsciiDoc hard line break
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/hard-line-breaks/
Submitted by
aisbergde
-
a year ago
0
AsciiDoc underline
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/text-span-built-in-roles
Submitted by
aisbergde
-
a year ago
0
AsciiDoc highlight
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/highlight/
Submitted by
aisbergde
-
a year ago
(Last modified a year ago)
0
AsciiDoc delimited block sidebar
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
a year ago
(Last modified a year ago)
0
AsciiDoc delimited block comment
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
asibergde
-
a year ago
(Last modified a year ago)
0
AsciiDoc block title
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/add-title/
Submitted by
aisberg.de
-
a year ago
1
...
476
477
478
479
480
...
487
Alternative Capture Country Codes
3
Regular Expression
PCRE (PHP <7.3)
/
(
\s
*
-en
|
\s
*
-en-us
|
\s
*
-us
)
$
/
mg
Open regex in editor
Description
no description available
Submitted by
Branden
-
9 years ago