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 18,040 community submitted regex patterns...
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Check version YY.MM.DD.Increment
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
phoneNumber without +
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
world phone number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Trim leftLeading and righEnding spaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
A name of a csv file in digits 6 chars long, 10 chars in total
PCRE2 (PHP >=7.3)
Find any flaws? ignore case = true global = false "123456.csv" assert true
Submitted by
anonymous
-
4 years ago
0
head <link> parser
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Password Strength Check - All Unicode - JS
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Match <a href=...> attributes containing certain words.
ECMAScript (JavaScript)
Matches all URLs inside of href attributes which start with "http(s)" and contain either "apply" or "applica".
Submitted by
Jan Prazak
-
4 years ago
0
XML pretty print
PCRE (PHP <7.3)
This is my attempt at using Regex to "pretty print" a poorly formatted xml file. So far it can indent the contents of a tag a single layer deep
Submitted by
Josh Clark
-
4 years ago
0
Master Spark URL validation
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
link files using bracket syntax -- vscode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Movie Titles
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
DocRefIdType
PCRE2 (PHP >=7.3)
Een unieke naam ter identificatie van het document.
Submitted by
M Meerkerk
-
4 years ago
(Last modified 4 years ago)
0
Parse URL then Breakdown into parts
ECMAScript (JavaScript)
Will parse a valid URL and break it down into its parts. Making it easier to handle for checking and anything else really in any given langage The following link is a hastebin example of the parsing in Java It will output the following https://haste.readonly.network/viheradehe.java...
Submitted by
ROMVoid95
-
4 years ago
0
Phone number pseudo-check (checks the minimum number of digits)
PCRE2 (PHP >=7.3)
7 digits in this case
Submitted by
Hohanoff
-
4 years ago
0
Versioned Git Branch
PCRE2 (PHP >=7.3)
Branch versions of the from Number.Number.Number
Submitted by
anonymous
-
4 years ago
0
Rest URL Param 2
PCRE (PHP <7.3)
no description available
Submitted by
Raphael Quintao
-
4 years ago
(Last modified 4 years ago)
0
Currency to input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
email with domain exclusion - jimbolo
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
...
363
364
365
366
367
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
https
?
:
\/\/
)?
(
(?:
[^
\/\.
]
+
\.
)*
)
(
[^
\/\.
]
+
\.
[^
\/\.
]
+
)
(
(
\/
\w
+
)*
)?
/
gm
Open regex in editor
Description
To test multiple domains, put a slash (/) at the end of each domain
Submitted by
tnarh
-
4 months ago
(Last modified 4 months ago)