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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 12,640 community submitted regex patterns...
0
basic
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
Whitespace agnostic variable declaration (Python re compatible)
PCRE (PHP <7.3)
Define variables in existing text documents. One variable per line
Submitted by
Janelle Weber
-
3 years ago
(Last modified 3 years ago)
0
Negative and Positive Look Ahead
ECMAScript (JavaScript)
no description available
Submitted by
Rodolfo Faquin Della Justina
-
3 years ago
0
Import products
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Email Verify Check
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
ip address
ECMAScript (JavaScript)
ip address
Submitted by
anonymous
-
3 years ago
0
format text step 1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
phoneNumber without +
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
world phone number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
Trim leftLeading and righEnding spaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Password Strength Check - All Unicode - JS
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 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
-
3 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
-
3 years ago
0
link files using bracket syntax -- vscode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 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
-
3 years ago
0
Rest URL Param 2
PCRE (PHP <7.3)
no description available
Submitted by
Raphael Quintao
-
3 years ago
(Last modified 3 years ago)
0
Currency to input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
email with domain exclusion - jimbolo
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
validate password
ECMAScript (JavaScript)
no description available
Submitted by
blastz
-
3 years ago
1
...
590
591
592
593
594
...
632
Trim leftLeading and righEnding spaces
0
Regular Expression
PCRE (PHP <7.3)
/
^\s
+
|
\s
+
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago