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,260 community submitted regex patterns...
0
Password with a-z, A-Z, 0-9 or special character
ECMAScript (JavaScript)
at least 1 lower-case character at least 1 upper-case character at least 1 number or special character
Submitted by
Wemo
-
2 years ago
0
get package and version from path after several words
PCRE2 (PHP >=7.3)
skip a word initially then get the package from pair of slashes
Submitted by
anonymous
-
2 years ago
0
date format YYYY-MM-DD
ECMAScript (JavaScript)
to detect date format YYYY-MM-DD ony starting from 1900
Submitted by
anonymous
-
2 years ago
0
TI dis6x to "binary as ASCII"
PCRE2 (PHP >=7.3)
Automated version of process described here Takes TI dis6x disassembly output Removes leading address and spaces Rotates endianess Presents as "binary as ASCII" blob ready for insertion with HEX edit tool...
Submitted by
https://github.com/ELynx
-
2 years ago
(Last modified 2 years ago)
0
Find Phone numbers on uncommented lines
ECMAScript (JavaScript)
Nothing at the moment
Submitted by
Bentejuy
-
2 years ago
0
get package and version from path after several words
PCRE2 (PHP >=7.3)
get package and version from path after several words
Submitted by
anonymous
-
2 years ago
0
20220708 Complex Regular Expression for testing purpose
PCRE2 (PHP >=7.3)
The description of css testing regular expression, It was created to test how social snippet works on Regex101. We''ll it soon in Slack, Facebook, Tweeter and other popular sharing services. Who knows which resalts we'll get. 2 The description of css testing regular expression, It was created to tes...
Submitted by
Anton Author Name Siluyanov
-
2 years ago
0
Illegal characters for directory name
Java 8
Pattern matches to all illegal characters in directory name. Can be useful for normalizing the folder name before creating it
Submitted by
Vlad Yevtushenko
-
2 years ago
0
Xerox Product Page
ECMAScript (JavaScript)
regex to match a product page url
Submitted by
anonymous
-
2 years ago
0
Extract, match domain from URL
PCRE2 (PHP >=7.3)
Worryin’ about you is like wonderin’ if the sun gonna come up.
Submitted by
@seocringe
-
2 years ago
0
name of variable being assigned to a specific value
PCRE2 (PHP >=7.3)
name of variable being assigned to a specific value
Submitted by
Lesley Chang
-
2 years ago
0
Replace common tags for content exported from Roam
ECMAScript (JavaScript)
I use a common set of tags for capturing content I might want to consume (e.g., books, podcasts, videos, articles, etc.) in Roam Research.
Submitted by
Keenan Payne
-
2 years ago
0
Get description
PCRE2 (PHP >=7.3)
sss
Submitted by
anonymous
-
2 years ago
0
match với a khi và chỉ khi nó không được theo sau bởi b
PCRE2 (PHP >=7.3)
match với a khi và chỉ khi nó không được theo sau bởi b
Submitted by
anonymous
-
2 years ago
0
match với a khi và chỉ khi nó được theo sau bởi b
PCRE2 (PHP >=7.3)
match với a khi và chỉ khi nó được theo sau bởi b
Submitted by
anonymous
-
2 years ago
0
RFC 4646
ECMAScript (JavaScript)
Matches RFC 4646 see https://www.rfc-editor.org/rfc/rfc4646.txt
Submitted by
reThink23
-
2 years ago
0
Regex named groups
PCRE2 (PHP >=7.3)
Regex to group the elements by name
Submitted by
anonymous
-
2 years ago
0
Reverse assignments statements c#
PCRE2 (PHP >=7.3)
Reverses any number of assignement statements in c See example Test before use.
Submitted by
Scover
-
2 years ago
0
Minecraft Username
ECMAScript (JavaScript)
Regex that matches only valid Minecraft usernames
Submitted by
demented
-
2 years ago
(Last modified 2 years ago)
0
Guid parser
.NET 7.0 (C#)
Guid parser
Submitted by
anonymous
-
2 years ago
1
...
253
254
255
256
257
...
313
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago