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 3,980 community submitted regex patterns...
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
AsciiDoc underline
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/text-span-built-in-roles
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
Base64 Image Data URI finder
ECMAScript (JavaScript)
The expression is intended for finding one or more embedded Base64 Data URI in an HTML document. It will not find matches for any HTML surrounding the encoded Data URI match ( tag or src attributes), just the encoded data and MIME header, all that's needed to decode. The MIME type is for images in ...
Submitted by
Attention Deficit Hyperactivity Disorder
-
2 years ago
(Last modified 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 Subscript
Java 8
https://docs.asciidoctor.org/asciidoc/latest/text/subscript-and-superscript/
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
https
ECMAScript (JavaScript)
https
Submitted by
anonymous
-
2 years ago
0
media timestamp hh:mm:ss.xxx
ECMAScript (JavaScript)
Any number of digits is allowed for every component. Valid examples: 42 => group 3 43.5 => group 3,4 01:02:03.04 => group 1,2,3,4 62:3.04 => group 2,3,4...
Submitted by
eumelzocker
-
2 years ago
(Last modified 2 years ago)
0
URL
.NET 7.0 (C#)
(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by
anonymous
-
2 years ago
0
VS Code find replace template block
ECMAScript (JavaScript)
Used with Visual Studio Code to search and replace text in between two markers. I use this to template in things that occur on multiple pages like the navigation menu. I know this can be done with javascript or servers side scripting, but sometimes I just want to pre process all of this like in the ...
Submitted by
Bishop
-
2 years ago
1
Regex for url
ECMAScript (JavaScript)
Regex for url
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Percentage regex
ECMAScript (JavaScript)
Percentage regex allows integer and float values e.g. 10 // valid 12 // valid 12.34 // valid 12.345 // invalid 99.99 // valid...
Submitted by
Ankit Patel
-
2 years ago
1
RegEX IBAN SEPA with spaces
ECMAScript (JavaScript)
RegEX IBAN SEPA with spaces
Submitted by
Karim MB
-
2 years ago
1
Find duplicate char in a string
ECMAScript (JavaScript)
it was used in this codewar challenge. and i find i really interesting. Also u can Write it like this if you want /(.)\1+/g it works exactly the same
Submitted by
anonymous
-
2 years ago
1
js获取url上的参数
ECMAScript (JavaScript)
/(+)=(+)/gm
Submitted by
anonymous
-
2 years ago
1
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
1
phone number middle number parsing
Java 8
middle number parsing regex
Submitted by
anonymous
-
2 years ago
0
Verify email
Java 8
Regex for email
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
中文匹配
ECMAScript (JavaScript)
本示例启用了多行匹配 m
Submitted by
yang
-
2 years ago
1
...
26
27
28
29
30
...
199
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?<code>
\+
?
\d
{1,3}
)
[
-
\s
]
{0,}
(?<number>
\(
?
\d
{3}
\)
?
[
-
\s
]
{0,}
\d
{3}
[
-
\s
]
{0,}
\d
{2}
[
-
\s
]
{0,}
\d
{2}
)
$
"
gm
Open regex in editor
Description
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
2 years ago