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,020 community submitted regex patterns...
3
Escherichia coli, partial genome simple coding region search
PCRE (PHP <7.3)
NC_000913.3 Escherichia coli str. K-12 substr. MG1655, patial genome
Submitted by
anonymous
-
9 years ago
1
Country Code
PCRE (PHP <7.3)
no description available
Submitted by
SB
-
9 years ago
3
Validación de numeros de teléfono
PCRE (PHP <7.3)
no description available
Submitted by
devsolarte@gmail.com
-
9 years ago
1
Javascript GUID regex
ECMAScript (JavaScript)
Validate GUID using a regex expression
Submitted by
stom
-
9 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
9 years ago
2
Alphanumeric only
PCRE (PHP <7.3)
Allows only Uppercase, lowercase letters and numbers
Submitted by
anonymous
-
9 years ago
2
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
9 years ago
2
Azure ARM Template Parameter Override breakdown
PCRE (PHP <7.3)
This script helps you take the ARM template parameter override line from VSTS and break each variable combo down to its own line.
Submitted by
Paul Daly
-
9 years ago
2
Azure ARM Parameter Override Reconstuct
PCRE (PHP <7.3)
This helps you take a list of ARM parameters where each pair is on its own line and combine them back to a single line so you can place them in VSTS's ARM template parameter override field.
Submitted by
Paul Daly
-
9 years ago
3
Multiple emails seperated with comma
ECMAScript (JavaScript)
Multiple emails seperated with comma allowed multiple dot ltds
Submitted by
Hassan Youssef
-
9 years ago
1
Phone Number
ECMAScript (JavaScript)
Allows a phone number in the following format: (123) 123-1234 The space is optional
Submitted by
Tom G.
-
9 years ago
3
Find css lines with px sizing
ECMAScript (JavaScript)
Use to find css sizing that migh need conversion to vs or alike.
Submitted by
Bob
-
9 years ago
3
File name Cleanup
ECMAScript (JavaScript)
Strips all non "A-Z,a-z,0-9+-_" characters and replaces them with a single "-"
Submitted by
Apsis0215
-
9 years ago
2
parse username with @ mention
PCRE (PHP <7.3)
no description available
Submitted by
Laracasts
-
9 years ago
3
Capture Query Strings
Python
A solution for capture query params.
Submitted by
Rafael Laurindo
-
9 years ago
3
Get any positive integer
PCRE (PHP <7.3)
All real numbers can be divided into three categories: positive, negative and zero; Match all positive number Match: 2 9 ...
Submitted by
norihiori, Me-me
-
9 years ago
2
Brazilian number phone
PCRE (PHP <7.3)
no description available
Submitted by
Marcos André
-
8 years ago
1
Phone Number
ECMAScript (JavaScript)
Between 8 and 10 Digits, no spaces
Submitted by
anonymous
-
8 years ago
3
IBAN
ECMAScript (JavaScript)
The complete regex for IBAN numbers
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
...
34
35
36
37
38
...
901
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
.
{3,256}
$
)
(
(?:
[
a
-
z0
-
9-
]
{2,65}
\.
)?
[
a
-
z0
-
9-
]
{2,256}
\.
[
a
-
z
\.
]
{2,6}
)
$
/
img
Open regex in editor
Description
Ideal for filter Domain with or without subdomain, and length less than 256.
Submitted by
Presta-Lab
-
9 years ago