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 3,420 community submitted regex patterns...
0
Shell multiline parser
ECMAScript (JavaScript)
Partially completed pattern for vscode-highlight
Submitted by
disco0
-
2 years ago
0
mr regexp
ECMAScript (JavaScript)
Рег
Submitted by
anonymous
-
2 years ago
0
email regex
ECMAScript (JavaScript)
check mail regex
Submitted by
anonymous
-
2 years ago
(Last modified 8 months ago)
0
Prefix all classes
ECMAScript (JavaScript)
Prefix all classes
Submitted by
anonymous
-
2 years ago
0
6 Digit Numeric Length
ECMAScript (JavaScript)
This Test will check is the given string is Exactly of 6 digits & all chars are Numbers. use case OTP Validations.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
UPI ID regex
ECMAScript (JavaScript)
regex to detect or extract UPI ID
Submitted by
anonymous
-
2 years ago
0
Tizen Package ID Requirements
ECMAScript (JavaScript)
These are the requirements for a Tizen Pacakge ID of type applicationIdType This type expects pattern '[0-9a-zA-Z]{10}.{1,52}'
Submitted by
sherwino
-
2 years ago
0
域名规则
ECMAScript (JavaScript)
域名规则
Submitted by
anonymous
-
2 years ago
0
Find lines with more than two dots
ECMAScript (JavaScript)
more than two dots
Submitted by
Leonard Deutsch
-
2 years ago
0
img html tag to xml
ECMAScript (JavaScript)
img html tag to xml Make sure it is an img tag before proceed
Submitted by
anonymous
-
2 years ago
0
Parse html tag attributes into key:value pairs
ECMAScript (JavaScript)
([a-zA-Z\//]){0}\s(?[a-zA-Z]+)=?("(?[A-Za-z\d\s;:.\-\/\\%]*)")?
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
URL Validation JS
ECMAScript (JavaScript)
Domain can be an IP address, except 0.0.0.0 Domain with length of 1 accepted Only acceptable symbol in Domain is "-" (hyphen) Not allowed in start, end or twice in a row (same for "." (dot))...
Submitted by
Artur
-
2 years ago
(Last modified 2 years ago)
0
Phone # Validation
ECMAScript (JavaScript)
This recognizes phone numbers, including country codes if they're present.
Submitted by
Phoenix Staley
-
2 years ago
0
Simple password validator
ECMAScript (JavaScript)
verify that a password string is from length 8 - 16, while allowing word and non-word characters.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Find WikiRace baseURL
ECMAScript (JavaScript)
https://github.com/d-k-bo/WikiRace
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Truncate words to only 2 first characters of the word
ECMAScript (JavaScript)
It grabs 2 first characters from a word. So: please will be pl sure and sun will be su white and what will be wh ...
Submitted by
anonymous
-
2 years ago
0
check mail
ECMAScript (JavaScript)
Vérifie si le mail est valide ou non
Submitted by
anonymous
-
2 years ago
0
Match all filenames in any URL including those with ANSI escaped characters (Js/python version)
ECMAScript (JavaScript)
Match all filenames in any URL including those with ANSI escaped characters (Js/python version).
Submitted by
The Fourth Bird
-
2 years ago
(Last modified 2 years ago)
0
docker image tag name
ECMAScript (JavaScript)
javascript regex for docker image tag name from doc
Submitted by
ahmad safari
-
2 years ago
0
docker image tag name
ECMAScript (JavaScript)
javascript regex for docker image tag name from doc
Submitted by
ahmad safari
-
2 years ago
1
...
155
156
157
158
159
...
171
Remove leading and trailing spaces
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
]
+
|
[
]
+
$
/
gm
Open regex in editor
Description
Remove leading and trailing spaces from multiline text.
Submitted by
Freemen Muaddib
-
2 years ago