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,000 community submitted regex patterns...
1
num
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
zero
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
zero
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
List open to close
PCRE (PHP <7.3)
List total tag
Submitted by
anonymous
-
8 years ago
1
Strip domain part from subdomain
PCRE (PHP <7.3)
Strip domain part from subdomain of any lengt. May not catch some of rarely used CC TLDs with long 2nd level domain part like: .dnepropetrovsk.ua .poznan.pl .museum.mw
Submitted by
diffore
-
8 years ago
1
Positive number - currency format (1234567890.12)
ECMAScript (JavaScript)
Positive number with 10 digits before decimal point (possible zeros in front) and 0-2 digits after (possible trailing zeros).
Submitted by
Evgeny Sinitsyn
-
8 years ago
1
Date Match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
tags
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Top Domain
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
UK Postcode Checker
ECMAScript (JavaScript)
Checks for valid UK/British postcodes. A modified version of MaffooBristol's pattern that prevents a non-whitespace character being entered in between the two sections of the postcode. Works in PHP/JS ...
Submitted by
anonymous
-
8 years ago
0
ending .pub
ECMAScript (JavaScript)
For files with a .pub ending
Submitted by
Marvin
-
8 years ago
1
Gyproc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
pronouceable strings v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Catch before trailing dots
PCRE (PHP <7.3)
no description available
Submitted by
Mehrad
-
8 years ago
1
demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Troca de nome do componente
PCRE (PHP <7.3)
Troca de nome do componente
Submitted by
Alair
-
8 years ago
1
ipreo table parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
3
Song Splitter
PCRE (PHP <7.3)
Split an audio filename into a readable format for playlists (like jPlayer) assuming the audio file is named like the following: Artist - Song Title.mp3 Band Name - Track Title ft. Another Artist.m4a demon.devin - Faithless Angel (to no avail remix).mp3
Submitted by
demon.devin
-
8 years ago
1
Email validate
ECMAScript (JavaScript)
Validation of email with no allow to only special char before and after @ symbol, generic validation for domain
Submitted by
Kamil Popis
-
8 years ago
1
Match YouTube URL
ECMAScript (JavaScript)
Match YouTube URLs
Submitted by
Xaotic
-
8 years ago
1
...
658
659
660
661
662
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^\s
+
|
\s
+
$
|
\s
+
(?=
\s
)
/
g
Open regex in editor
Description
Removes spaces from begining, end and between words. " Hello There " = "Hello There"
Submitted by
anonymous
-
5 years ago